3v4l.org

run code in 300+ PHP versions simultaneously
<?php function get_option($val) { return false; } $locale = get_option( 'language_code' ) ?? 'en_gb'; var_dump($locale);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lM3tO
function name:  (null)
number of ops:  10
compiled vars:  !0 = $locale
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'get_option'
          1        SEND_VAL                                                 'language_code'
          2        DO_FCALL                                      0  $1      
          3        COALESCE                                         ~2      $1
          4        QM_ASSIGN                                        ~2      'en_gb'
          5        ASSIGN                                                   !0, ~2
    8     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Function get_option:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lM3tO
function name:  get_option
number of ops:  3
compiled vars:  !0 = $val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1      > RETURN                                                   <false>
    5     2*     > RETURN                                                   null

End of function get_option

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.34 ms | 1397 KiB | 16 Q