3v4l.org

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

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

End of function __construct

End of class chicken.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.83 ms | 1393 KiB | 13 Q