3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL & ~E_USER_DEPRECATED); 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/eFajm
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 16383
          2        DO_ICALL                                                 
    5     3        INIT_FCALL                                               'trigger_error'
          4        SEND_VAL                                                 'Hey%2C+this+is+deprecated+behaviour'
          5        SEND_VAL                                                 16384
          6        DO_ICALL                                                 
   15     7        NEW                                              $2      'Test'
          8        DO_FCALL                                      0          
          9        FREE                                                     $2
   16    10        ECHO                                                     1
         11        ECHO                                                     '%0A'
   17    12      > RETURN                                                   1

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

End of function test

End of class Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
199.51 ms | 1395 KiB | 19 Q