3v4l.org

run code in 300+ PHP versions simultaneously
<?php $id_seance="ne123211"; print is_numeric(intval($id_seance)); if (is_numeric(intval($id_seance))) { print "int"; }else{ print "not int"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/A4HTT
function name:  (null)
number of ops:  15
compiled vars:  !0 = $id_seance
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'ne123211'
    3     1        INIT_FCALL                                               'is_numeric'
          2        CAST                                          4  ~2      !0
          3        SEND_VAL                                                 ~2
          4        DO_ICALL                                         $3      
          5        ECHO                                                     $3
    4     6        INIT_FCALL                                               'is_numeric'
          7        CAST                                          4  ~4      !0
          8        SEND_VAL                                                 ~4
          9        DO_ICALL                                         $5      
         10      > JMPZ                                                     $5, ->13
    5    11    >   ECHO                                                     'int'
         12      > JMP                                                      ->14
    7    13    >   ECHO                                                     'not+int'
    8    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.45 ms | 1394 KiB | 15 Q