3v4l.org

run code in 300+ PHP versions simultaneously
<?php $overloaded = function_exists( 'mb_internal_encoding' ) && ( ini_get( 'mbstring.func_overload' ) & 2 ); var_dump($overloaded); $overloaded = function_exists( 'mb_internal_encoding' ) && ( ini_get( 'dont_exist' ) & 2 ); var_dump($overloaded);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
2 jumps found. (Code = 46) Position 1 = 17, Position 2 = 22
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
Branch analysis from position: 9
filename:       /in/ZhSff
function name:  (null)
number of ops:  27
compiled vars:  !0 = $overloaded
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'function_exists'
          1        SEND_VAL                                                 'mb_internal_encoding'
          2        DO_ICALL                                         $1      
          3      > JMPZ_EX                                          ~2      $1, ->9
          4    >   INIT_FCALL                                               'ini_get'
          5        SEND_VAL                                                 'mbstring.func_overload'
          6        DO_ICALL                                         $3      
          7        BW_AND                                           ~4      $3, 2
          8        BOOL                                             ~2      ~4
          9    >   ASSIGN                                                   !0, ~2
    4    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
    6    13        INIT_FCALL                                               'function_exists'
         14        SEND_VAL                                                 'mb_internal_encoding'
         15        DO_ICALL                                         $7      
         16      > JMPZ_EX                                          ~8      $7, ->22
         17    >   INIT_FCALL                                               'ini_get'
         18        SEND_VAL                                                 'dont_exist'
         19        DO_ICALL                                         $9      
         20        BW_AND                                           ~10     $9, 2
         21        BOOL                                             ~8      ~10
         22    >   ASSIGN                                                   !0, ~8
    7    23        INIT_FCALL                                               'var_dump'
         24        SEND_VAR                                                 !0
         25        DO_ICALL                                                 
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.22 ms | 1395 KiB | 19 Q