This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ext\gd\libgd\gd_crop.c(246): warning C4018: '>=': signed/unsigned mismatch | |
| ext\gd\libgd\gd.c(1083): warning C4244: '=': conversion from 'double' to 'int', possible loss of data | |
| ext\gd\libgd\gd.c(1147): warning C4244: '=': conversion from 'double' to 'int', possible loss of data | |
| ext\gd\libgd\gd.c(1331): warning C4244: '=': conversion from 'double' to 'int', possible loss of data | |
| ext\gd\libgd\gd.c(1381): warning C4244: '=': conversion from 'double' to 'int', possible loss of data | |
| ext\gd\libgd\gd.c(2756): warning C4244: '=': conversion from 'double' to 'int', possible loss of data | |
| ext\gd\libgd\gd_interpolation.c(2167): warning C4018: '>=': signed/unsigned mismatch | |
| ext\gd\libgd\gd_interpolation.c(2169): warning C4018: '>=': signed/unsigned mismatch | |
| ext\gd\libgd\gd_webp.c(153): warning C4244: 'function': conversion from 'int' to 'float', possible loss of data | |
| ext\gd\libgd\gdft.c(640): warning C4018: '<': signed/unsigned mismatch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| foreach([false, 0.1, 'hello', [], new stdClass, new SoapFault('a', 'b')] as $value) | |
| { | |
| var_dump(is_soap_fault($value) === ($value instanceof SoapFault)); | |
| } | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* ... */ | |
| protected static getRemoteIP() : string | |
| { | |
| if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR']) | |
| { | |
| return($_SERVER['HTTP_X_FORWARDED_FOR']); | |
| } | |
| elseif(isset($_SERVER['REMOTE_ADDR']) && $_SERVER['REMOTE_ADDR']) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class Nokia3310 | |
| { | |
| protected static $keypad = [ | |
| 2 => ['a', 'b', 'c'], | |
| 3 => ['d', 'e', 'f'], | |
| 4 => ['g', 'h', 'i'], | |
| 5 => ['j', 'k', 'l'], | |
| 6 => ['m', 'n', 'o'], | |
| 7 => ['p', 'q', 'r', 's'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Number of tests : 76 70 | |
| Tests skipped : 6 ( 7.9%) -------- | |
| Tests warned : 0 ( 0.0%) ( 0.0%) | |
| Tests failed : 9 ( 11.8%) ( 12.9%) | |
| Expected fail : 0 ( 0.0%) ( 0.0%) | |
| Tests passed : 61 ( 80.3%) ( 87.1%) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/ext/date/php_date.c b/ext/date/php_date.c | |
| index 68235c4..8a17859 100644 | |
| --- a/ext/date/php_date.c | |
| +++ b/ext/date/php_date.c | |
| @@ -1,4 +1,4 @@ | |
| -/* | |
| +/* | |
| +----------------------------------------------------------------------+ | |
| | PHP Version 7 | | |
| +----------------------------------------------------------------------+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| js/search.js | 8 +++++++- | |
| 1 file changed, 7 insertions(+), 1 deletion(-) | |
| diff --git a/js/search.js b/js/search.js | |
| index 74764b2..391cb5c 100644 | |
| --- a/js/search.js | |
| +++ b/js/search.js | |
| @@ -11,7 +11,13 @@ $('input.search').autocomplete({ | |
| minChars:2, | |
| maxHeight:400, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class A | |
| { | |
| } | |
| function test_1(A[] $a) | |
| { | |
| /* ... */ | |
| } |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ItemId;Name;Amount;Cost | |
| 151565;Astral Glory;10;1 | |
| 151564;Empyrium;10;1 | |
| 151566;Fiendish Leather;10;1 | |
| 151567;Lightweave Cloth;10;1 | |
| 151579;Labradorite;1;10 | |
| 151722;Florid Malachite;1;10 | |
| 151720;Chemirine;1;10 | |
| 151718;Argulite;1;10 | |
| 151721;Hesselian;1;10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class MyClass | |
| { | |
| private $myService; | |
| public function someMethod() | |
| { | |
| $cb = function() | |
| { |