3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('error_reporting', E_NOTICE); echo $x; // generates E_NOTICE ini_set('error_reporting', 'E_NOTICE'); echo $y; // nothing
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CNU2k
function name:  (null)
number of ops:  11
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                                                 8
          3        DO_ICALL                                                 
    4     4        ECHO                                                     !0
    6     5        INIT_FCALL                                               'ini_set'
          6        SEND_VAL                                                 'error_reporting'
          7        SEND_VAL                                                 'E_NOTICE'
          8        DO_ICALL                                                 
    7     9        ECHO                                                     !1
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.49 ms | 1394 KiB | 15 Q