3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Fo​o { } echo "About to make Foo 1\n"; $foo1 = new Fo​o(); var_dump($foo1); echo "About to make Foo 2\n"; $foo2 = new Foo();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0abgt
function name:  (null)
number of ops:  12
compiled vars:  !0 = $foo1, !1 = $foo2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ECHO                                                     'About+to+make+Foo+1%0A'
    9     1        NEW                                              $2      'Fo%E2%80%8Bo'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $2
   11     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
   14     7        ECHO                                                     'About+to+make+Foo+2%0A'
   15     8        NEW                                              $6      'Foo'
          9        DO_FCALL                                      0          
         10        ASSIGN                                                   !1, $6
         11      > RETURN                                                   1

Class Fo​o: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.64 ms | 1394 KiB | 15 Q