��Ȼ�� PHP 5 �Ĵ��������ļ����������У� �����в��ִ������������ݵģ�
�� PHP 5.6 ֮ǰ�İ汾�У�Ϊ�ඨ���������͵�����ʱ�� ���������ͬʱʹ������ʽ���������ʽ�������������ʽ�ļ�����ʽ�����м���ͬ�� ��ô����ļ��������ǡ����磺
<?php
class C {
const ONE = 1;
public $array = [
self::ONE => 'foo',
'bar',
'quux',
];
}
var_dump((new C)->array);
?>
Output of the above example in PHP 5.5:
array(2) { [0]=> string(3) "bar" [1]=> string(4) "quux" }
Output of the above example in PHP 5.6:
array(3) { [1]=> string(3) "foo" [2]=> string(3) "bar" [3]=> string(4) "quux" }
���� JSON ������ true��false �� null�����������Сд��ʽ�����ᱻ json_decode() �����ܾ��� ͬʱ��Ӧ������ json_last_error()�� ��֮ǰ�İ汾�У�json_decode() �������Խ�����Щ�������� ȫ����д���ߴ�Сд��д�ĸ�ʽ��
�˱������Ӱ�촫�뵽 json_decode() �е� JSON ��ʽ��Ч������� ��Ч�� JSON ���벻���ܵ�Ӱ�첢���ܹ���ȷ������
All encrypted client streams now enable peer verification by default. By default, this will use OpenSSL's default CA bundle to verify the peer certificate. In most cases, no changes will need to be made to communicate with servers with valid SSL certificates, as distributors generally configure OpenSSL to use known good CA bundles.
The default CA bundle may be overridden on a global basis by setting
either the openssl.cafile or openssl.capath configuration setting, or on a
per request basis by using the
cafile
or
capath
context options.
While not recommended in general, it is possible to disable peer
certificate verification for a request by setting the
verify_peer
context option to FALSE
, and to disable peer name validation by setting
the verify_peer_name
context option to FALSE
.
GMP ��Դ��Ϊ���� GMP ��չ�еĻ��ں����� API ʵ�ֲ���Ӱ�죬 ֻ���ڴ�����ʹ�� is_resource() �����ƺ��� ����ʾ����Ƿ���Դ���͵Ĵ���Ż��ܵ�Ӱ�졣
mcrypt_encrypt()��mcrypt_decrypt()�� mcrypt_cbc()��mcrypt_cfb()�� mcrypt_ecb()��mcrypt_generic() �Լ� mcrypt_ofb() �������ٽ�����Ч���ȵ���Կ�ͳ�ʼ������ ������Ҫ��ʼ�����ķ������ģʽ��������ṩ��ʼ�������������ý���ʧ�ܡ�