3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function execFce() { echo printf('%05d', 1234567); } } $test = new Test(); $test->execFce(); $test2 = (new Test())->execFce();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/f97Z6
function name:  (null)
number of ops:  11
compiled vars:  !0 = $test, !1 = $test2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   NEW                                              $2      'Test'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    9     3        INIT_METHOD_CALL                                         !0, 'execFce'
          4        DO_FCALL                                      0          
   11     5        NEW                                              $6      'Test'
          6        DO_FCALL                                      0          
          7        INIT_METHOD_CALL                                         $6, 'execFce'
          8        DO_FCALL                                      0  $8      
          9        ASSIGN                                                   !1, $8
         10      > RETURN                                                   1

Class Test:
Function execfce:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/f97Z6
function name:  execFce
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'printf'
          1        SEND_VAL                                                 '%2505d'
          2        SEND_VAL                                                 1234567
          3        DO_ICALL                                         $0      
          4        ECHO                                                     $0
    5     5      > RETURN                                                   null

End of function execfce

End of class Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.33 ms | 1395 KiB | 15 Q