3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(new stdclass); var_dump((object) []); var_dump($b = new stdclass()); var_dump(new stdclass(3));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Pnkll
function name:  (null)
number of ops:  22
compiled vars:  !0 = $b
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
          1        NEW                                                  $1      'stdclass'
          2        DO_FCALL                                          0          
          3        SEND_VAR                                                     $1
          4        DO_ICALL                                                     
    4     5        INIT_FCALL                                                   'var_dump'
          6        CAST                                              8  ~4      <array>
          7        SEND_VAL                                                     ~4
          8        DO_ICALL                                                     
    5     9        INIT_FCALL                                                   'var_dump'
         10        NEW                                                  $6      'stdclass'
         11        DO_FCALL                                          0          
         12        ASSIGN                                               ~8      !0, $6
         13        SEND_VAL                                                     ~8
         14        DO_ICALL                                                     
    6    15        INIT_FCALL                                                   'var_dump'
         16        NEW                                                  $10     'stdclass'
         17        SEND_VAL_EX                                                  3
         18        DO_FCALL                                          0          
         19        SEND_VAR                                                     $10
         20        DO_ICALL                                                     
         21      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
142.25 ms | 3383 KiB | 14 Q