Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ ag 'php.*(5\.[456]|7\.0)'
- repository/s3/lib.php
- 29:// This constant is not defined in php 5.4. Set it to avoid errors.
- repository/upgrade.txt
- 93:* instance_config_form() must now be declared static for php5.4 compatibility.
- composer.lock
- 585: "php": ">=5.5.0",
- 641: "php": ">=5.5"
- 645: "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0",
- 704: "php": ">=5.5.0"
- 755: "php": ">=5.4.0",
- 931: "php": ">=5.4.4",
- 975: "php": "^5.6 || ^7.0"
- 1023: "php": "^5.6 || ^7.0"
- 1075: "php": "^5.6 || ^7.0"
- 1122: "php": ">=5.5"
- 1176: "php": "^7.0",
- 1227: "php": "^5.5 || ^7.0",
- 1275: "php": "^5.3|^7.0",
- 1339: "php": "^7.0",
- 1391: "php": "^7.0",
- 1540: "php": "^5.3.3 || ^7.0"
- 1590: "php": "^7.0"
- 1646: "php": "^7.0",
- 1723: "php": "^7.0",
- 1927: "php": "^5.6 || ^7.0"
- 1972: "php": "^7.0",
- 2036: "php": "^7.0"
- 2088: "php": "^7.0"
- 2138: "php": "^7.0",
- 2205: "php": "^7.0"
- 2256: "php": "^7.0",
- 2303: "php": "^7.0"
- 2348: "php": "^7.0"
- 2401: "php": ">=5.6.0"
- 2443: "php": ">=5.6"
- 2486: "php": "^5.5.9|>=7.0.8",
- 2543: "php": "^5.5.9|>=7.0.8"
- 2599: "php": "^5.5.9|>=7.0.8",
- 2663: "php": "^5.5.9|>=7.0.8",
- 2731: "php": "^5.5.9|>=7.0.8"
- 2784: "php": "^5.5.9|>=7.0.8",
- 2840: "php": "^5.5.9|>=7.0.8",
- 2910: "php": "^5.5.9|>=7.0.8",
- 2967: "php": "^5.5.9|>=7.0.8"
- 3030: "php": "^5.5.9|>=7.0.8",
- 3243: "php": "^5.5.9|>=7.0.8",
- 3308: "php": "^5.5.9|>=7.0.8"
- 3366: "php": "^7.0"
- 3403: "php": "^5.3.3 || ^7.0"
- install/lang/sk/install.php
- 75:$string['phpversionhelp'] = '<p>Moodle si vyžaduje verziu PHP aspoň 5.6.5 alebo 7.1 (7.0.x má určité obmedzenia jadra).</p>
- install/lang/da/install.php
- 83:$string['phpversionhelp'] = '<p>Moodle kræver mindst PHP version 5.6.5. eller 7.1 (7.0.x har nogle maskinbegrænsninger).</p>
- install/lang/no/install.php
- 81:$string['phpversionhelp'] = '<p>Moodle trenger en PHP versjon minst 5.6.5 eller 7.1.0 (7.0.x har noen begrensninger).</p>
- install/lang/pt_br/install.php
- 85:$string['phpversionhelp'] = '<p>O Moodle requer uma versão PHP de pelo menos 5.6.5 ou 7.1 (o 7.0.x tem algumas limitações do motor). </p>
- install/lang/ja/install.php
- 87:$string['phpversionhelp'] = '<p>Moodleには少なくとも5.6.5または7.1のPHPバージョンが必要です (7.0.x にはエンジンの制限があります)。</p>
- install/lang/it/install.php
- 86:$string['phpversionhelp'] = '<p>Moodle necessita come minimo della versione 5.6.5 del PHP. (La versione 7.0.x ha alcuni limiti nell\'engine)</p>
- install/lang/cs/install.php
- 85:$string['phpversionhelp'] = '<p>Moodle vyžaduje PHP alespoň verze 5.6.5 PHP nebo 7.1 (7.0.x má určitá omezení jádra).</p>
- install/lang/ru/install.php
- 85:$string['phpversionhelp'] = '<p>Для Moodle необходим PHP версии не ниже 5.6.5 или 7.1 (есть некоторые проблемы с версией 7.0.x).</p>
- install/lang/sr_cr/install.php
- 83:$string['phpversionhelp'] = '<p>Moodle захтева најмање PHP верзију 5.6.7 или 7.1 (7.0.x има нека ограничења).</p>
- install/lang/pt/install.php
- 69:$string['phpversionhelp'] = '<p>A instalação do Moodle só é possível se no servidor estiver instalada, pelo menos, a versão 5.6.5 do PHP (a versão 7.0.x tem algumas limitações).</p>
- install/lang/es_mx/install.php
- 88:$string['phpversionhelp'] = '<p>Moodle requiere una versión de PHP de al menos 5.6.5 o 7.1 (7.0.x tiene algunas limitaciones del motor).</p>
- install/lang/hu/install.php
- 68:$string['phpversionhelp'] = 'A Moodle használatához legalább a PHP 5.6.5 vagy 7.1 verziója szükséges
- install/lang/nl/install.php
- 83:$string['phpversionhelp'] = '<p>Moodle heeft minstens PHP-versie 5.6.5 of 7.1 nodig (7.0.x heeft een aantal beperkingen).</p>
- install/lang/de/install.php
- 76:$string['phpversionhelp'] = '<p>Moodle benötigt mindestens die PHP-Version 5.6.5. oder 7.1 (7.0.x weist einige Einschränkungen auf).</p>
- install/lang/fr/install.php
- 81:$string['phpversionhelp'] = '<p>Moodle nécessite au minimum la version 5.6.5 ou 7.1 (la version 7.0.x a des limitations avec certains moteurs de base de données).</p>
- install/lang/et/install.php
- 91:$string['phpversionhelp'] = '<p>Moodle vajab vähemalt PHP versiooni 5.6.5 või 7.1 (versioonil 7.0.x on mõned mootoripiirangud).</p>
- install/lang/en/install.php
- 93:$string['phpversionhelp'] = '<p>Moodle requires a PHP version of at least 5.6.5 or 7.1 (7.0.x has some engine limitations).</p>
- install/lang/fa/install.php
- 99:$string['phpversionhelp'] = '<p>مودل نیاز به PHP نسخهٔ حداقل 5.6.5 یا 7.1 دارد (<span dir="ltr" style="direction: ltr; display: inline-block">7.0.x</span> محدودیتهایی در engine اش دارد).</p>
- install/lang/lt/install.php
- 66:$string['phpversionhelp'] = '<p>„Moodle“ reikalauja, kad PHP versija būtų ne žemesnė 5.6.5 arba 7.1 (7.0.x versijoje yra tam tikrų trūkumų).</p>
- install/lang/eu/install.php
- 88:$string['phpversionhelp'] = '<p>Moodle-k PHP 5.6.5 edo 7.1 bertsioetako bat behar du (7.0.x bertsioek muga batzuk dituzte). </p>
- install/lang/sr_lt/install.php
- 80:$string['phpversionhelp'] = '<p>Moodle zahteva najmanje PHP verziju 5.6.7 ili 7.1 (7.0.x ima neka ograničenja).</p>
- cache/upgrade.txt
- 7:* The memcache store was removed as it is not compatible with PHP 7.0.
- Dockerfile
- 1:FROM php:7.0-cli
- admin/environment.xml
- 1029: <PHP version="5.4.4" level="required">
- 1168: <PHP version="5.4.4" level="required">
- 1302: <PHP version="5.4.4" level="required">
- 1446: <PHP version="5.4.4" level="required">
- 1590: <PHP version="5.4.4" level="required">
- 1756: <PHP version="5.6.5" level="required">
- 1922: <PHP version="5.6.5" level="required">
- 2099: <PHP version="7.0.0" level="required">
- 2276: <PHP version="7.0.0" level="required">
- 2453: <PHP version="7.0.0" level="required">
- admin/tool/installaddon/classes/installer.php
- 388: // The following syntax uses function array dereferencing, added in PHP 5.4.0.
- lang/en/install.php
- 217:$string['phpversionhelp'] = '<p>Moodle requires a PHP version of at least 5.6.5 or 7.1 (7.0.x has some engine limitations).</p>
- lib/minify/matthiasmullie-minify/src/JS.php
- 220: // PHP only supports $this inside anonymous functions since 5.4
- 502: // PHP only supports $this inside anonymous functions since 5.4
- lib/minify/matthiasmullie-minify/src/Minify.php
- 331: // PHP only supports $this inside anonymous functions since 5.4
- lib/spout/README.md
- 42:* PHP version 5.4.0 or higher
- lib/deprecatedlib.php
- 313: * @deprecated since 2.7 PHP 5.4.x should be always compatible.
- lib/phpmailer/changelog.md
- 17:* **Requires PHP 5.5 or later**
- 28: * Warnings emitted for buggy `mail()` in PHP versions 7.0.0 - 7.0.16 and 7.1.0 - 7.1.2; either upgrade or switch to SMTP.
- lib/phpmailer/src/Exception.php
- 4: * PHP Version 5.5.
- lib/phpmailer/src/SMTP.php
- 4: * PHP Version 5.5.
- 391: //PHP 5.6.7 dropped inclusion of TLS 1.1 and 1.2 in STREAM_CRYPTO_METHOD_TLS_CLIENT
- lib/phpmailer/src/PHPMailer.php
- 4: * PHP Version 5.5.
- 266: * Be aware that in PHP >= 5.6 this requires that the server's certificates are valid.
- 1280: //Ignore IDE complaints about this line - method signature changed in PHP 5.4
- 1342: and ((version_compare(PHP_VERSION, '7.0.0', '>=')
- 1343: and version_compare(PHP_VERSION, '7.0.17', '<'))
- 1350: ' your php.ini, switch to MacOS or Linux, or upgrade your PHP to version 7.0.17+ or 7.1.3+.',
- lib/phpmailer/README.md
- 24:- Compatible with PHP 5.5 and later
- 65:PHPMailer 5.2 (which is compatible with PHP 5.0 - 7.0) is no longer being supported for feature updates, and will only be receiving security updates from now on. You will find the latest version of 5.2 in the [5.2-stable branch](https://github.com/PHPMailer/PHPMailer/tree/5.2-stable), and future versions of 5.2 will be tagged with 5.2.x version numbers, so existing composer configs should remain working. If you're using PHP 5.5 or later, we recommend you make the necessary changes to switch to the 6.0 release.
- 146:There is a PHPUnit test script in the [test](https://github.com/PHPMailer/PHPMailer/tree/master/test/) folder. PHPMailer uses PHPUnit 4.8 - we would use 5.x but we need to run on PHP 5.5.
- lib/adodb/drivers/adodb-mysqlt.inc.php
- 13: is deprected in PHP version 5.5 and removed in PHP version 7. It is deprecated
- lib/adodb/drivers/adodb-mysql.inc.php
- 12: is deprected in PHP version 5.5 and removed in PHP version 7. It is deprecated
- lib/mlbackend/php/classes/processor.php
- 69: if (version_compare(phpversion(), '7.0.0') < 0) {
- lib/phpexcel/PHPExcel/Reader/Excel2003XML.php
- 562: $objPHPExcel->getActiveSheet()->getColumnDimension($columnID)->setWidth($columnWidth / 5.4);
- lib/simplepie/library/SimplePie.php
- 1306: // Then check the xml extension is sane (i.e., libxml 2.7.x issue on PHP < 5.2.9 and libxml 2.7.0 to 2.7.2 on any version) if we don't have xmlreader.
- 1486: $this->error .= ' You MUST have either the iconv, mbstring or intl (PHP 5.5+) extension installed and enabled.';
- 1496: $missingExtensions[] = 'intl (PHP 5.5+)';
- lib/classes/text.php
- 540: } else if (version_compare(phpversion(), '5.4.0') < 0) {
- lib/classes/session/manager.php
- 268: ini_set('session.serialize_handler', 'php'); // We can move to 'php_serialize' after we require PHP 5.5.4 form Moodle.
- 533: if (version_compare(PHP_VERSION, '5.6.0', '>=')) {
- lib/markdown/Readme.md
- 4:PHP Markdown Lib 1.7.0 - 29 Oct 2016
- 177:PHP Markdown Lib 1.7.0 (29 Oct 2016)
- lib/google/src/Google/Logger/Abstract.php
- 367: if (version_compare(PHP_VERSION, '5.4.0', '>=')) {
- lib/dml/oci_native_moodle_database.php
- 1020: if ($params[$key] === null && version_compare(PHP_VERSION, '7.0.0', '>=')) {
- lib/horde/framework/Horde/Imap/Client/DateTime.php
- 32: $bug_67118 = (version_compare(PHP_VERSION, '5.6', '>=')) ||
- 33: in_array(PHP_VERSION, array('5.4.29', '5.5.13'));
- lib/horde/framework/Horde/Idna.php
- 157: /* Only available in PHP > 5.4.0 */
- lib/horde/framework/Horde/Mime/Part.php
- 1319: // TODO: Workaround broken number_format() prior to PHP 5.4.0.
- lib/horde/framework/Horde/Domhtml.php
- 251: if (version_compare(PHP_VERSION, '5.4', '>=')) {
- lib/filestorage/tests/zip_packer_test.php
- 471: // And some PHP versions do return correctly false (5.4.25, 5.6.14...)
- lib/filestorage/zip_archive.php
- 272: // PHP 5.6 introduced encoding guessing logic, we need to fall back
- 273: // to raw ZIP_FL_ENC_RAW (== 64) to get consistent results as in PHP 5.5.
- lib/setuplib.php
- 981: // - PHP versions lesser than 5.6.3 and 5.5.18.
- 988: // at least on CentOS 7 (Apache/2.4.6 PHP/5.4.16) and Ubuntu 14.04 (Apache/2.4.7 PHP/5.5.9)
- lib/phpunit/phpunit.xsd
- 4: <xs:documentation source="https://phpunit.de/manual/5.4/en/appendixes.configuration.html">
- 5: This Schema file defines the rules by which the XML configuration file of PHPUnit 5.4 may be structured.
- lib/setup.php
- 350:if (version_compare(PHP_VERSION, '5.6.5') < 0) {
- 353: echo "Moodle 3.2 or later requires at least PHP 5.6.5 (currently using version $phpversion).\n";
- lib/upgrade.txt
- 408:* Phpunit has been upgraded to 5.4.x and following has been deprecated and is not used any more:
- 637:* Less.php upgraded to 1.7.0.9
- files/converter/googledrive/classes/converter.php
- 257: // This is not a one-liner because of php 5.6.
- backup/moodle2/backup_custom_fields.php
- 221: * Note that until PHP 5.6.12 openssl_random_pseudo_bytes() did NOT
- mod/workshop/classes/privacy/workshopform_legacy_polyfill.php
- 34: * type hinting that is available in PHP 7.0 only. If a plugin wants to implement the interface in 3.3 (and therefore
- 35: * PHP 5.6) with the same codebase, they can make use of this trait. Instead of implementing the interface directly, the
- mod/quiz/report/overview/report.php
- 591: // See MDL-34589. Using doubles as array keys causes problems in PHP 5.4, hence the explicit cast to int.
- mod/lti/service/profile/db/renamedclasses.php
- 30: // Changed for PHP 7.0 which now has the word "resource" as a reserved word.
- mod/lti/service/memberships/db/renamedclasses.php
- 30: // Changed for PHP 7.0 which now has the word "resource" as a reserved word.
- mod/lti/service/toolproxy/db/renamedclasses.php
- 30: // Changed for PHP 7.0 which now has the word "resource" as a reserved word.
- mod/lti/service/toolsettings/db/renamedclasses.php
- 30: // Changed for PHP 7.0 which now has the word "resource" as a reserved word.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement