3v4l.org

run code in 300+ PHP versions simultaneously
<?php // provides no output namespace testa; class testClass1 { public function __construct (){ echo "hello1\n"; } } class testClass2 { public function testClass2 (){ echo "hello2\n"; } } $test1 = new \testa\testClass1(); $test2 = new \testa\testClass2(); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9K3us
function name:  (null)
number of ops:  7
compiled vars:  !0 = $test1, !1 = $test2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   NEW                                              $2      'testa%5CtestClass1'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
   19     3        NEW                                              $5      'testa%5CtestClass2'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $5
   21     6      > RETURN                                                   1

Class testa\testClass1:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9K3us
function name:  __construct
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ECHO                                                     'hello1%0A'
    9     1      > RETURN                                                   null

End of function __construct

End of class testa\testClass1.

Class testa\testClass2:
Function testclass2:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9K3us
function name:  testClass2
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   ECHO                                                     'hello2%0A'
   16     1      > RETURN                                                   null

End of function testclass2

End of class testa\testClass2.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.52 ms | 1385 KiB | 13 Q