Changed functions
PHP Core
-
debug_zval_dumpnow prints "int" instead of "long", and "float" instead of "double" -
dirnamenow optionally takes a second parameter,depth, to get the name of the directorydepthlevels up from the current directory. -
getrusageis now supported on Windows. -
mktimeandgmmktimefunctions no longer acceptis_dstparameter. -
preg_replacefunction no longer supports "\e" (PREG_REPLACE_EVAL).preg_replace_callbackshould be used instead. -
setlocalefunction no longer acceptscategorypassed as string.LC_*constants must be used instead. -
exec,systemandpassthrufunctions have NULL byte protection now. -
shmop_opennow returns a resource instead of an int, which has to be passed toshmop_size,shmop_write,shmop_read,shmop_closeandshmop_delete. -
substrandiconv_substrnow return an empty string, if string is equal to start characters long. -
xml_parser_freeis no longer sufficient to free the parser resource, if it references an object and this object references that parser resource. In this case it is necessary to additionally unset the $parser.
谢谢你的反馈!