Last active
December 2, 2017 12:37
-
-
Save spacebit-official/68c40cfe0e4b11a414e7c501eadd6373 to your computer and use it in GitHub Desktop.
php-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
<?php | |
//новый движок PHPNG этот движок практически такой как у facebook | |
//у facebook движок HHVM | |
// <=> == strcmp(); комбинированный оператор сравнения | |
declare(strict_types=1); // включение динамеческой типизации | |
function foo(int $int) {} | |
$test = $str ?? 'test'; | |
"\u{202E}привет"; | |
PHP_INT_MIN; | |
PHP_INT_MAX; | |
$HTTP_RAW_POST_DATA;//delete | |
file_get_contents('php://input'); | |
{ | |
function fooo():array { | |
return []; | |
} | |
} | |
$e = $a ?? $b ?? $c ?? $d; | |
//var_dump(3<=>2); | |
//preg_replace_callback_array(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment