3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(array( 'JSON_ERROR_NONE' => JSON_ERROR_NONE, 'JSON_ERROR_DEPTH' => JSON_ERROR_DEPTH, 'JSON_ERROR_STATE_MISMATCH' => JSON_ERROR_STATE_MISMATCH, 'JSON_ERROR_CTRL_CHAR' => JSON_ERROR_CTRL_CHAR, 'JSON_ERROR_SYNTAX' => JSON_ERROR_SYNTAX, 'JSON_ERROR_UTF8' => JSON_ERROR_UTF8, 'JSON_ERROR_RECURSION' => JSON_ERROR_RECURSION, 'JSON_ERROR_INF_OR_NAN' => JSON_ERROR_INF_OR_NAN, 'JSON_ERROR_UNSUPPORTED_TYPE' => JSON_ERROR_UNSUPPORTED_TYPE )); echo json_encode('"test":""');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0loge
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'print_r'
    4     1        SEND_VAL                                                 <array>
          2        DO_ICALL                                                 
   15     3        INIT_FCALL                                               'json_encode'
          4        SEND_VAL                                                 '%22test%22%3A%22%22'
          5        DO_ICALL                                         $1      
          6        ECHO                                                     $1
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.13 ms | 1394 KiB | 17 Q