3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Auto { public $test = 'hallo'; function testAuto() { echo 'echo from test auto'; } } $superCar = new Auto();
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/bQ8Kj
function name:  (null)
number of ops:  5
compiled vars:  !0 = $superCar
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NOP                                                      
  16     1        NEW                                              $2      :-6
         2        DO_FCALL                                      0          
         3        ASSIGN                                                   !0, $2
         4      > RETURN                                                   1

Class Auto:
Function testauto:
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/bQ8Kj
function name:  testAuto
number of ops:  2
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  10     0  E >   ECHO                                                     'echo+from+test+auto'
  11     1      > RETURN                                                   null

End of function testauto

End of class Auto.

Generated using Vulcan Logic Dumper, using php 7.2.0