3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('error_reporting', E_ALL & ~E_DEPRECATED); echo "error_reporting is currently set to: " . ini_get('error_reporting'), "\n"; echo "a notice should be reported here: "; echo $x; echo "\n"; ini_set('error_reporting', 'E_ALL & ~E_DEPRECATED'); echo "error_reporting is currently set to: " . ini_get('error_reporting'), "\n"; echo "a notice should be reported here: "; echo $y;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pBAcJ
function name:  (null)
number of ops:  26
compiled vars:  !0 = $x, !1 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'error_reporting'
          2        SEND_VAL                                                 24575
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'ini_get'
          5        SEND_VAL                                                 'error_reporting'
          6        DO_ICALL                                         $3      
          7        CONCAT                                           ~4      'error_reporting+is+currently+set+to%3A+', $3
          8        ECHO                                                     ~4
          9        ECHO                                                     '%0A'
    5    10        ECHO                                                     'a+notice+should+be+reported+here%3A+'
    6    11        ECHO                                                     !0
    7    12        ECHO                                                     '%0A'
    9    13        INIT_FCALL                                               'ini_set'
         14        SEND_VAL                                                 'error_reporting'
         15        SEND_VAL                                                 'E_ALL+%26+%7EE_DEPRECATED'
         16        DO_ICALL                                                 
   10    17        INIT_FCALL                                               'ini_get'
         18        SEND_VAL                                                 'error_reporting'
         19        DO_ICALL                                         $6      
         20        CONCAT                                           ~7      'error_reporting+is+currently+set+to%3A+', $6
         21        ECHO                                                     ~7
         22        ECHO                                                     '%0A'
   11    23        ECHO                                                     'a+notice+should+be+reported+here%3A+'
   12    24        ECHO                                                     !1
   13    25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.46 ms | 1003 KiB | 15 Q