3v4l.org

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