3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Hello{ public function __construct($name){ echo "Hello All, I am $name"; } } $message = new Hello('Scott');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vvbZu
function name:  (null)
number of ops:  5
compiled vars:  !0 = $message
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   NEW                                              $1      'Hello'
          1        SEND_VAL_EX                                              'Scott'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
          4      > RETURN                                                   1

Class Hello:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vvbZu
function name:  __construct
number of ops:  5
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1        NOP                                                      
          2        FAST_CONCAT                                      ~1      'Hello+All%2C+I+am+', !0
          3        ECHO                                                     ~1
    6     4      > RETURN                                                   null

End of function __construct

End of class Hello.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151 ms | 1393 KiB | 13 Q