3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo intval(0); echo intval(1); echo intval('foo'); echo is_numeric(0); echo is_numeric(2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5mYlj
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   CAST                                          4  ~0      0
          1        ECHO                                                     ~0
    5     2        CAST                                          4  ~1      1
          3        ECHO                                                     ~1
    8     4        CAST                                          4  ~2      'foo'
          5        ECHO                                                     ~2
   11     6        INIT_FCALL                                               'is_numeric'
          7        SEND_VAL                                                 0
          8        DO_ICALL                                         $3      
          9        ECHO                                                     $3
   12    10        INIT_FCALL                                               'is_numeric'
         11        SEND_VAL                                                 2
         12        DO_ICALL                                         $4      
         13        ECHO                                                     $4
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.28 ms | 1394 KiB | 15 Q