3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = json_decode(stripslashes('[["ServiceId","=",290],["TaskState","!=","CLOSED"],["LEFT(NextWorkDate, 4)","=","2014"]]'), true); var_dump($array);
based on L1aN7
Output for 5.2.0 - 7.1.10
array(3) { [0]=> array(3) { [0]=> string(9) "ServiceId" [1]=> string(1) "=" [2]=> int(290) } [1]=> array(3) { [0]=> string(9) "TaskState" [1]=> string(2) "!=" [2]=> string(6) "CLOSED" } [2]=> array(3) { [0]=> string(21) "LEFT(NextWorkDate, 4)" [1]=> string(1) "=" [2]=> string(4) "2014" } }
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/NT6nS 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/NT6nS 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/NT6nS 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/NT6nS on line 2