3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(json_decode("192.168.1.1")); //=>float(192.168) var_dump(json_last_error());//=>int(0)
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dkcl5
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'var_dump'
          1        INIT_FCALL                                                   'json_decode'
          2        SEND_VAL                                                     '192.168.1.1'
          3        DO_ICALL                                             $0      
          4        SEND_VAR                                                     $0
          5        DO_ICALL                                                     
    3     6        INIT_FCALL                                                   'var_dump'
          7        INIT_FCALL                                                   'json_last_error'
          8        DO_ICALL                                             $2      
          9        SEND_VAR                                                     $2
         10        DO_ICALL                                                     
         11      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.58 ms | 2687 KiB | 16 Q