3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_validate("null")); var_dump(json_validate("false")); var_dump(json_validate("true")); var_dump(json_validate("")); var_dump(json_decode("null")); var_dump(json_decode("false")); var_dump(json_decode("true")); var_dump(json_decode(""));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/m268s
function name:  (null)
number of ops:  49
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'json_validate'
          2        SEND_VAL                                                 'null'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'json_validate'
          8        SEND_VAL                                                 'false'
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        DO_ICALL                                                 
    5    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL                                               'json_validate'
         14        SEND_VAL                                                 'true'
         15        DO_ICALL                                         $4      
         16        SEND_VAR                                                 $4
         17        DO_ICALL                                                 
    6    18        INIT_FCALL                                               'var_dump'
         19        INIT_FCALL                                               'json_validate'
         20        SEND_VAL                                                 ''
         21        DO_ICALL                                         $6      
         22        SEND_VAR                                                 $6
         23        DO_ICALL                                                 
    8    24        INIT_FCALL                                               'var_dump'
         25        INIT_FCALL                                               'json_decode'
         26        SEND_VAL                                                 'null'
         27        DO_ICALL                                         $8      
         28        SEND_VAR                                                 $8
         29        DO_ICALL                                                 
    9    30        INIT_FCALL                                               'var_dump'
         31        INIT_FCALL                                               'json_decode'
         32        SEND_VAL                                                 'false'
         33        DO_ICALL                                         $10     
         34        SEND_VAR                                                 $10
         35        DO_ICALL                                                 
   10    36        INIT_FCALL                                               'var_dump'
         37        INIT_FCALL                                               'json_decode'
         38        SEND_VAL                                                 'true'
         39        DO_ICALL                                         $12     
         40        SEND_VAR                                                 $12
         41        DO_ICALL                                                 
   11    42        INIT_FCALL                                               'var_dump'
         43        INIT_FCALL                                               'json_decode'
         44        SEND_VAL                                                 ''
         45        DO_ICALL                                         $14     
         46        SEND_VAR                                                 $14
         47        DO_ICALL                                                 
         48      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.48 ms | 1012 KiB | 16 Q