3v4l.org

run code in 300+ PHP versions simultaneously
<?php $actions = array( 'JACTION_EDITVALUE' => array ( 'core.edit.value', 'COM_CONFIG_ACTION_EDITVALUE_DESC', ), ); $level = 1; foreach ($actions as $action) { var_dump($level >= $action[1]); var_dump($action[1]); var_dump((int) $action[1]); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 19
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 19
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/7Pprh
function name:  (null)
number of ops:  21
compiled vars:  !0 = $actions, !1 = $level, !2 = $action
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        ASSIGN                                                   !1, 1
   12     2      > FE_RESET_R                                       $5      !0, ->19
          3    > > FE_FETCH_R                                               $5, !2, ->19
   13     4    >   INIT_FCALL                                               'var_dump'
          5        FETCH_DIM_R                                      ~6      !2, 1
          6        IS_SMALLER_OR_EQUAL                              ~7      ~6, !1
          7        SEND_VAL                                                 ~7
          8        DO_ICALL                                                 
   14     9        INIT_FCALL                                               'var_dump'
         10        FETCH_DIM_R                                      ~9      !2, 1
         11        SEND_VAL                                                 ~9
         12        DO_ICALL                                                 
   15    13        INIT_FCALL                                               'var_dump'
         14        FETCH_DIM_R                                      ~11     !2, 1
         15        CAST                                          4  ~12     ~11
         16        SEND_VAL                                                 ~12
         17        DO_ICALL                                                 
   12    18      > JMP                                                      ->3
         19    >   FE_FREE                                                  $5
   16    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
267.23 ms | 1001 KiB | 14 Q