3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (string)stdClass(array()); var_dump(empty(stdClass(array())));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/v5CHs
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'stdClass'
          1        SEND_VAL_EX                                              <array>
          2        DO_FCALL                                      0  $0      
          3        CAST                                          6  ~1      $0
          4        ECHO                                                     ~1
    5     5        INIT_FCALL                                               'var_dump'
          6        INIT_FCALL_BY_NAME                                       'stdClass'
          7        SEND_VAL_EX                                              <array>
          8        DO_FCALL                                      0  $2      
          9        BOOL_NOT                                         ~3      $2
         10        SEND_VAL                                                 ~3
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.82 ms | 934 KiB | 16 Q