3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(array( CRYPT_STD_DES,CRYPT_EXT_DES,CRYPT_MD5,CRYPT_BLOWFISH, CRYPT_SHA256,CRYPT_SHA512, ));
Output for 5.3.2 - 5.6.25, 7.0.0 - 7.1.0
Array ( [0] => 1 [1] => 1 [2] => 1 [3] => 1 [4] => 1 [5] => 1 )
Output for hhvm-3.10.0 - 3.12.0
Notice: Use of undefined constant CRYPT_SHA256 - assumed 'CRYPT_SHA256' in /in/7qCTG on line 4 Notice: Use of undefined constant CRYPT_SHA512 - assumed 'CRYPT_SHA512' in /in/7qCTG on line 4 Array ( [0] => 1 [1] => 0 [2] => 1 [3] => 1 [4] => CRYPT_SHA256 [5] => CRYPT_SHA512 )
Output for 5.3.0 - 5.3.1
Notice: Use of undefined constant CRYPT_SHA256 - assumed 'CRYPT_SHA256' in /in/7qCTG on line 4 Notice: Use of undefined constant CRYPT_SHA512 - assumed 'CRYPT_SHA512' in /in/7qCTG on line 4 Array ( [0] => 1 [1] => 1 [2] => 1 [3] => 1 [4] => CRYPT_SHA256 [5] => CRYPT_SHA512 )
Output for 4.3.0 - 5.2.17
Notice: Use of undefined constant CRYPT_SHA256 - assumed 'CRYPT_SHA256' in /in/7qCTG on line 4 Notice: Use of undefined constant CRYPT_SHA512 - assumed 'CRYPT_SHA512' in /in/7qCTG on line 4 Array ( [0] => 1 [1] => 0 [2] => 1 [3] => 0 [4] => CRYPT_SHA256 [5] => CRYPT_SHA512 )