对本扩展的类/函数/方法有以下更新。
Version | Function | Description |
---|---|---|
7.2.0 | pack | float and double types supports both Big Endian and Little Endian. |
unpack | float and double types supports both Big Endian and Little Endian. | |
7.1.0 | unpack | The optional offset has been added. |
7.0.15,7.1.1 | pack | The "e", "E", "g" and "G" codes were added to enable byte order support for float and double. |
7.0.0 | define | 允许 array 的值。 |
5.6.3 | pack | The "q", "Q", "J" and "P" codes were added to enable working with 64-bit numbers. |
5.5.0 | pack | The "Z" code was added with equivalent functionality to "a" for Perl compatibility. |
unpack | Changes were made to bring this function into line with Perl: The "a" code now retains trailing NULL bytes. The "A" code now strips all trailing ASCII whitespace (spaces, tabs, newlines, carriage returns, and NULL bytes). The "Z" code was added for NULL-padded strings, and removes trailing NULL bytes. | |
5.3.4 | sleep | 在PHP 5.3.4之前,Windows平台下无论 sleep 是否成功调用,总是会返回一个 NULL。 |
5.3.0 | time_nanosleep | 至此之后该函数在Windows平台下可用。 |
time_sleep_until | 自此,函数在Windows平台可用。 | |
5.0.5 | php_check_syntax | 函数从PHP中移除。 |
5.0.3 | php_check_syntax | php_check_syntax之后调用 exit 会导致一个段错误。 |
5.0.1 | php_check_syntax | error_message 通过引用传递 |
4.2.1 | highlight_file | 该函数现在也受 safe_mode 和 open_basedir 的限制和影响。 |