3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Test { public function helloWorld(){ echo 'test'; } }; (new Test( testTest() + 8, boo ))->helloWorld(); testTest();
based on St6Ln
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D50lO
function name:  (null)
number of ops:  14
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NOP                                                      
   5     1        NEW                                              $1      :-5
   6     2        INIT_FCALL_BY_NAME                                       'testTest'
         3        DO_FCALL                                      0  $2      
         4        ADD                                              ~3      $2, 8
         5        SEND_VAL_EX                                              ~3
         6        FETCH_CONSTANT                                   ~4      'boo'
         7        SEND_VAL_EX                                              ~4
         8        DO_FCALL                                      0          
   7     9        INIT_METHOD_CALL                                         $1, 'helloWorld'
        10        DO_FCALL                                      0          
   9    11        INIT_FCALL_BY_NAME                                       'testTest'
        12        DO_FCALL                                      0          
        13      > RETURN                                                   1

Class Test:
Function helloworld:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D50lO
function name:  helloWorld
number of ops:  2
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ECHO                                                     'test'
         1      > RETURN                                                   null

End of function helloworld

End of class Test.

Generated using Vulcan Logic Dumper, using php 7.3.0