3v4l.org

run code in 300+ PHP versions simultaneously
<?php trigger_error('Hey, this is deprecated behaviour', E_USER_DEPRECATED); class Test { public function Test() { var_dump('here'); } } new Test(); echo 1, PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FibvK
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'trigger_error'
          1        SEND_VAL                                                 'Hey%2C+this+is+deprecated+behaviour'
          2        SEND_VAL                                                 16384
          3        DO_ICALL                                                 
   13     4        NEW                                              $1      'Test'
          5        DO_FCALL                                      0          
          6        FREE                                                     $1
   14     7        ECHO                                                     1
          8        ECHO                                                     '%0A'
   15     9      > RETURN                                                   1

Class Test:
Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FibvK
function name:  Test
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 'here'
          2        DO_ICALL                                                 
   10     3      > RETURN                                                   null

End of function test

End of class Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.78 ms | 1399 KiB | 17 Q