3v4l.org

run code in 300+ PHP versions simultaneously
<?php $b = 0304; $c = 304; if (is_numeric($b)) { echo 'b is num'; } if (is_numeric($c)) { echo 'c is num'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 12
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
Branch analysis from position: 7
filename:       /in/oQFWo
function name:  (null)
number of ops:  13
compiled vars:  !0 = $b, !1 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 196
    4     1        ASSIGN                                                   !1, 304
    6     2        INIT_FCALL                                               'is_numeric'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5      > JMPZ                                                     $4, ->7
    7     6    >   ECHO                                                     'b+is+num'
   10     7    >   INIT_FCALL                                               'is_numeric'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $5      
         10      > JMPZ                                                     $5, ->12
   11    11    >   ECHO                                                     'c+is+num'
   12    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.96 ms | 1394 KiB | 15 Q