3v4l.org

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

Class Fo​o: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.8 ms | 1392 KiB | 13 Q