3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(json_decode('[{"label":"Model","name":"model","options":[{"text":"Axon","value":"6"},{"text":"Auron","value":"7"},{"text":"RUX","value":"8"},{"text":"Durolux","value":"9"},{"text":"Epicon","value":"10"},{"text":"Raidon","value":"11"},{"text":"XCR 32mm","value":"12"},{"text":"XCR 30mm","value":"13"},{"text":"XCM","value":"14"},{"text":"XCT","value":"15"},{"text":"M3030","value":"16"},{"text":"M3020","value":"17"},{"text":"M3010","value":"18"},{"text":"M2025","value":"19"},{"text":"NRX","value":"20"},{"text":"NVX","value":"21"},{"text":"NCX","value":"22"},{"text":"NEX","value":"23"},{"text":"CR9","value":"24"}]},{"label":"Diagnosis","name":"diagnosis","options":[{"text":"Lockout Not Functioning","value":"238"},{"text":"Fork Makes Noise","value":"239"},{"text":"Horizontal Movement In Lower Casting","value":"240"},{"text":"Will Not Compress","value":"241"},{"text":"Dropouts Not Aligned","value":"242"},{"text":"Rebound Not Functioning","value":"243"},{"text":"Air Loss","value":"244"},{"text":"Cover Missing","value":"245"},{"text":"Lockout Missing","value":"246"},{"text":"Disc Tab Thread Damaged\/Missing","value":"247"},{"text":"Crack In Crown","value":"248"},{"text":"Oil Leaking","value":"249"},{"text":"Other","value":"250"},{"text":"Wiper Damaged","value":"280"}]}]', true));
Output for 5.2.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Array ( [0] => Array ( [label] => Model [name] => model [options] => Array ( [0] => Array ( [text] => Axon [value] => 6 ) [1] => Array ( [text] => Auron [value] => 7 ) [2] => Array ( [text] => RUX [value] => 8 ) [3] => Array ( [text] => Durolux [value] => 9 ) [4] => Array ( [text] => Epicon [value] => 10 ) [5] => Array ( [text] => Raidon [value] => 11 ) [6] => Array ( [text] => XCR 32mm [value] => 12 ) [7] => Array ( [text] => XCR 30mm [value] => 13 ) [8] => Array ( [text] => XCM [value] => 14 ) [9] => Array ( [text] => XCT [value] => 15 ) [10] => Array ( [text] => M3030 [value] => 16 ) [11] => Array ( [text] => M3020 [value] => 17 ) [12] => Array ( [text] => M3010 [value] => 18 ) [13] => Array ( [text] => M2025 [value] => 19 ) [14] => Array ( [text] => NRX [value] => 20 ) [15] => Array ( [text] => NVX [value] => 21 ) [16] => Array ( [text] => NCX [value] => 22 ) [17] => Array ( [text] => NEX [value] => 23 ) [18] => Array ( [text] => CR9 [value] => 24 ) ) ) [1] => Array ( [label] => Diagnosis [name] => diagnosis [options] => Array ( [0] => Array ( [text] => Lockout Not Functioning [value] => 238 ) [1] => Array ( [text] => Fork Makes Noise [value] => 239 ) [2] => Array ( [text] => Horizontal Movement In Lower Casting [value] => 240 ) [3] => Array ( [text] => Will Not Compress [value] => 241 ) [4] => Array ( [text] => Dropouts Not Aligned [value] => 242 ) [5] => Array ( [text] => Rebound Not Functioning [value] => 243 ) [6] => Array ( [text] => Air Loss [value] => 244 ) [7] => Array ( [text] => Cover Missing [value] => 245 ) [8] => Array ( [text] => Lockout Missing [value] => 246 ) [9] => Array ( [text] => Disc Tab Thread Damaged/Missing [value] => 247 ) [10] => Array ( [text] => Crack In Crown [value] => 248 ) [11] => Array ( [text] => Oil Leaking [value] => 249 ) [12] => Array ( [text] => Other [value] => 250 ) [13] => Array ( [text] => Wiper Damaged [value] => 280 ) ) ) )
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/gffll on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/gffll on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/gffll on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/gffll on line 2