3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(is_numeric('0xdeadbeef'), int_val('0xdeadbeef'), ctype_xdigit('0xdeadbeef'), is_numeric('deadbeef'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YIYUk
function name:  (null)
number of ops:  19
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'is_numeric'
          2        SEND_VAL                                                 '0xdeadbeef'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        INIT_FCALL_BY_NAME                                       'int_val'
          6        SEND_VAL_EX                                              '0xdeadbeef'
          7        DO_FCALL                                      0  $1      
          8        SEND_VAR                                                 $1
          9        INIT_FCALL                                               'ctype_xdigit'
         10        SEND_VAL                                                 '0xdeadbeef'
         11        DO_ICALL                                         $2      
         12        SEND_VAR                                                 $2
         13        INIT_FCALL                                               'is_numeric'
         14        SEND_VAL                                                 'deadbeef'
         15        DO_ICALL                                         $3      
         16        SEND_VAR                                                 $3
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.61 ms | 1394 KiB | 19 Q