3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Demo { #[Deprecated] public function __construct() {} } echo "Before\n"; $d = new Demo(); echo "After\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DNrqm
function name:  (null)
number of ops:  6
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   ECHO                                                     'Before%0A'
   10     1        NEW                                              $1      'Demo'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
   11     4        ECHO                                                     'After%0A'
          5      > RETURN                                                   1

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

End of function __construct

End of class Demo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.02 ms | 997 KiB | 13 Q