3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = "survey_que3"; $key=explode("survey_que",$name); if(sizeof($key) == 2 && is_numeric($key[1]) && $key[0] == "") { print_r($key); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 9, Position 2 = 14
Branch analysis from position: 9
2 jumps found. (Code = 46) Position 1 = 15, Position 2 = 18
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 22
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
Branch analysis from position: 18
Branch analysis from position: 14
filename:       /in/fSeb3
function name:  (null)
number of ops:  23
compiled vars:  !0 = $name, !1 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'survey_que3'
    5     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 'survey_que'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    6     6        COUNT                                            ~5      !1
          7        IS_EQUAL                                         ~6      ~5, 2
          8      > JMPZ_EX                                          ~6      ~6, ->14
          9    >   INIT_FCALL                                               'is_numeric'
         10        FETCH_DIM_R                                      ~7      !1, 1
         11        SEND_VAL                                                 ~7
         12        DO_ICALL                                         $8      
         13        BOOL                                             ~6      $8
         14    > > JMPZ_EX                                          ~6      ~6, ->18
         15    >   FETCH_DIM_R                                      ~9      !1, 0
         16        IS_EQUAL                                         ~10     ~9, ''
         17        BOOL                                             ~6      ~10
         18    > > JMPZ                                                     ~6, ->22
    8    19    >   INIT_FCALL                                               'print_r'
         20        SEND_VAR                                                 !1
         21        DO_ICALL                                                 
    9    22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.13 ms | 1395 KiB | 19 Q