3v4l.org

run code in 500+ PHP versions simultaneously
<?php # different results for PHP 5.x and 7.x: ini_set('error_reporting', 1); $a = array(); $a['ini_get'] = ini_get('error_reporting'); $a['error_reporting'] = error_reporting(); $a['@ini_get'] = @ini_get('error_reporting'); $a['@error_reporting'] = @error_reporting(); var_export($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3lFoe
function name:  (null)
number of ops:  31
compiled vars:  !0 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'ini_set'
          1        SEND_VAL                                                     'error_reporting'
          2        SEND_VAL                                                     1
          3        DO_ICALL                                                     
    4     4        ASSIGN                                                       !0, <array>
    5     5        INIT_FCALL                                                   'ini_get'
          6        SEND_VAL                                                     'error_reporting'
          7        DO_ICALL                                             $4      
          8        ASSIGN_DIM                                                   !0, 'ini_get'
          9        OP_DATA                                                      $4
    6    10        INIT_FCALL                                                   'error_reporting'
         11        DO_ICALL                                             $6      
         12        ASSIGN_DIM                                                   !0, 'error_reporting'
         13        OP_DATA                                                      $6
    7    14        BEGIN_SILENCE                                        ~8      
         15        INIT_FCALL                                                   'ini_get'
         16        SEND_VAL                                                     'error_reporting'
         17        DO_ICALL                                             $9      
         18        END_SILENCE                                                  ~8
         19        ASSIGN_DIM                                                   !0, '%40ini_get'
         20        OP_DATA                                                      $9
    8    21        BEGIN_SILENCE                                        ~11     
         22        INIT_FCALL                                                   'error_reporting'
         23        DO_ICALL                                             $12     
         24        END_SILENCE                                                  ~11
         25        ASSIGN_DIM                                                   !0, '%40error_reporting'
         26        OP_DATA                                                      $12
    9    27        INIT_FCALL                                                   'var_export'
         28        SEND_VAR                                                     !0
         29        DO_ICALL                                                     
         30      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
207.25 ms | 3125 KiB | 17 Q