3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test{} $t1 = new Test; $t2 = new stdClass; $t3 = new Test; echo $t1, $t2, $t3;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5u7U2
function name:  (null)
number of ops:  13
compiled vars:  !0 = $t1, !1 = $t2, !2 = $t3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $3      'Test'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $3
    4     3        NEW                                              $6      'stdClass'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $6
    5     6        NEW                                              $9      'Test'
          7        DO_FCALL                                      0          
          8        ASSIGN                                                   !2, $9
    6     9        ECHO                                                     !0
         10        ECHO                                                     !1
         11        ECHO                                                     !2
         12      > RETURN                                                   1

Class Test: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.96 ms | 1392 KiB | 13 Q