Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 38234 программиста и 2407 роботов. Сейчас ищут 850 программистов ...
Changed functions
Вернуться к: Migrating from PHP 5.6.x to PHP 7.0.x
PHP Core
- debug_zval_dump() now prints "int" instead of "long", and "float" instead of "double"
-
dirname() now optionally takes a second parameter,
depth, to get the name of the directorydepthlevels up from the current directory. - getrusage() is now supported on Windows.
-
mktime() and gmmktime() functions
no longer accept
is_dstparameter. -
preg_replace() function no longer supports
"\e" (
PREG_REPLACE_EVAL). preg_replace_callback() should be used instead. -
setlocale() function no longer accepts
categorypassed as string.LC_*constants must be used instead. - exec(), system() and passthru() functions have NULL byte protection now.
- substr() now returns an empty string, if string is equal to start characters long.
Вернуться к: Migrating from PHP 5.6.x to PHP 7.0.x