3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = array( 'value' => 123, 'value2'=>1234567890123456789' ); $enc = json_encode($data); $dec = json_decode( $enc, true ); var_dump( ($data['value2'] === $dec['value2']) );
Output for 7.0.18
Parse error: syntax error, unexpected '' );' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /in/WXZFX on line 6
Process exited with code 255.