3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = array ( [696429770422511] => array ( ) [637931876280835] => array ( ) [802656596414770] => array ( [350685531728] => array ( [0] => array ( [appid] => 350685531728 [app_name] => Facebook for Android [major_version] => 20 [time_before_prod] => 1413788400 [time_beta_last] => 1413788400 ) [1] => array ( [appid] => 350685531728 [app_name] => Facebook for Android [major_version] => 19 [time_before_prod] => 1412751600 [time_beta_last] => 1412838000 ) [2] => array ( [appid] => 350685531728 [app_name] => Facebook for Android [major_version] => 18 [time_before_prod] => 1411887600 [time_beta_last] => 1411542000 ) ) ) [627063527366448] => array ( [173847642670370] => array ( [0] => array ( [appid] => 173847642670370 [app_name] => Facebook for iPad [major_version] => 17 [time_before_prod] => 1413788400 [time_beta_last] => 1413788400 ) [1] => array ( [appid] => 173847642670370 [app_name] => Facebook for iPad [major_version] => 16 [time_before_prod] => 1413270000 [time_beta_last] => 1412838000 ) [2] => array ( [appid] => 173847642670370 [app_name] => Facebook for iPad [major_version] => 15 [time_before_prod] => 1411887600 [time_beta_last] => 1411628400 ) ) [6628568379] => array ( [0] => array ( [appid] => 6628568379 [app_name] => Facebook for iPhone [major_version] => 17 [time_before_prod] => 1413788400 [time_beta_last] => 1413788400 ) [1] => array ( [appid] => 6628568379 [app_name] => Facebook for iPhone [major_version] => 16 [time_before_prod] => 1413270000 [time_beta_last] => 1412838000 ) [2] => array ( [appid] => 6628568379 [app_name] => Facebook for iPhone [major_version] => 15 [time_before_prod] => 1411887600 [time_beta_last] => 1411628400 ) ) ) [668283569892430] => array ( ) [845435125481564] => array ( ) [749198628432543] => array ( [256002347743983] => array ( [0] => array ( [appid] => 256002347743983 [app_name] => Facebook Messenger for Android [major_version] => 15 [time_before_prod] => 1413788400 [time_beta_last] => 1413788400 ) [1] => array ( [appid] => 256002347743983 [app_name] => Facebook Messenger for Android [major_version] => 14 [time_before_prod] => 1412751600 [time_beta_last] => 1412838000 ) [2] => array ( [appid] => 256002347743983 [app_name] => Facebook Messenger for Android [major_version] => 13 [time_before_prod] => 1411974000 [time_beta_last] => 1411542000 ) ) ) [687226941329804] => array ( [237759909591655] => array ( [0] => array ( [appid] => 237759909591655 [app_name] => Facebook Messenger for iPhone [major_version] => 15 [time_before_prod] => 1413788400 [time_beta_last] => 1413788400 ) [1] => array ( [appid] => 237759909591655 [app_name] => Facebook Messenger for iPhone [major_version] => 14 [time_before_prod] => 1413356400 [time_beta_last] => 1413356400 ) [2] => array ( [appid] => 237759909591655 [app_name] => Facebook Messenger for iPhone [major_version] => 13 [time_before_prod] => 1411887600 [time_beta_last] => 1411974000 ) ) [184182168294603] => array ( [0] => array ( [appid] => 184182168294603 [app_name] => Facebook Messenger for iOS (In-House) [major_version] => 15 [time_before_prod] => 1413788400 [time_beta_last] => 1413788400 ) [1] => array ( [appid] => 184182168294603 [app_name] => Facebook Messenger for iOS (In-House) [major_version] => 14 [time_before_prod] => 1413356400 [time_beta_last] => 1413356400 ) [2] => array ( [appid] => 184182168294603 [app_name] => Facebook Messenger for iOS (In-House) [major_version] => 13 [time_before_prod] => 1411887600 [time_beta_last] => 1411974000 ) ) ) [1480649328891067] => array ( ) [1423284707930395] => array ( ) [562104793888162] => array ( ) [740305592667195] => array ( [165907476854626] => array ( [0] => array ( [appid] => 165907476854626 [app_name] => Pages Manager for iOS [major_version] => 9 [time_before_prod] => 1413788400 [time_beta_last] => 1413788400 ) [1] => array ( [appid] => 165907476854626 [app_name] => Pages Manager for iOS [major_version] => 8 [time_before_prod] => 1413788400 [time_beta_last] => 1413615600 ) [2] => array ( [appid] => 165907476854626 [app_name] => Pages Manager for iOS [major_version] => 7 [time_before_prod] => 1413788400 [time_beta_last] => 1411628400 ) ) ) [777817885563072] => array ( ) [251709098372889] => array ( ) ); print_r($test);
Output for 5.5.0 - 7.0.11
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ')' in /in/r3YEO on line 9
Process exited with code 255.
Output for 5.4.0 - 5.4.45
Parse error: syntax error, unexpected '[', expecting ')' in /in/r3YEO on line 9
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/r3YEO on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[', expecting ')' in /in/r3YEO on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `')'' in /in/r3YEO on line 5
Process exited with code 255.