3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo is_bool(1); print_r((bool)true); var_dump(true) ; var_export(true); var_dump( new DateTime());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GIp4A
function name:  (null)
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   TYPE_CHECK                                   12  ~0      1
          1        ECHO                                                     ~0
    4     2        INIT_FCALL                                               'print_r'
          3        BOOL                                             ~1      <true>
          4        SEND_VAL                                                 ~1
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAL                                                 <true>
          8        DO_ICALL                                                 
    6     9        INIT_FCALL                                               'var_export'
         10        SEND_VAL                                                 <true>
         11        DO_ICALL                                                 
    7    12        INIT_FCALL                                               'var_dump'
         13        NEW                                              $5      'DateTime'
         14        DO_FCALL                                      0          
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.92 ms | 1386 KiB | 19 Q