3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo ctype_digit("61"); echo "\n"; echo ctype_digit(61); var_dump(ctype_digit("61")); var_dump(ctype_digit(61));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vAfY0
function name:  (null)
number of ops:  22
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ctype_digit'
          1        SEND_VAL                                                 '61'
          2        DO_ICALL                                         $0      
          3        ECHO                                                     $0
    3     4        ECHO                                                     '%0A'
    4     5        INIT_FCALL                                               'ctype_digit'
          6        SEND_VAL                                                 61
          7        DO_ICALL                                         $1      
          8        ECHO                                                     $1
    5     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'ctype_digit'
         11        SEND_VAL                                                 '61'
         12        DO_ICALL                                         $2      
         13        SEND_VAR                                                 $2
         14        DO_ICALL                                                 
    6    15        INIT_FCALL                                               'var_dump'
         16        INIT_FCALL                                               'ctype_digit'
         17        SEND_VAL                                                 61
         18        DO_ICALL                                         $4      
         19        SEND_VAR                                                 $4
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.46 ms | 1395 KiB | 17 Q