3v4l.org

run code in 300+ PHP versions simultaneously
<?php $temp1 = "0,2345"; $temp2 = 1244; $temp3 = "123.45"; if (is_numeric($temp1)) {echo "true";} if (is_numeric($temp2)) {echo "true";} if (is_numeric($temp3)) {echo "true";}
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 13
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 18
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
Branch analysis from position: 13
Branch analysis from position: 8
filename:       /in/of4C1
function name:  (null)
number of ops:  19
compiled vars:  !0 = $temp1, !1 = $temp2, !2 = $temp3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '0%2C2345'
    4     1        ASSIGN                                                   !1, 1244
    5     2        ASSIGN                                                   !2, '123.45'
    7     3        INIT_FCALL                                               'is_numeric'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $6      
          6      > JMPZ                                                     $6, ->8
          7    >   ECHO                                                     'true'
    8     8    >   INIT_FCALL                                               'is_numeric'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $7      
         11      > JMPZ                                                     $7, ->13
         12    >   ECHO                                                     'true'
    9    13    >   INIT_FCALL                                               'is_numeric'
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                         $8      
         16      > JMPZ                                                     $8, ->18
         17    >   ECHO                                                     'true'
         18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.03 ms | 1386 KiB | 15 Q