3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.33 ms | 1459 KiB | 15 Q