3v4l.org

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

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

End of function __construct

End of class Oi.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.66 ms | 1393 KiB | 13 Q