3v4l.org

run code in 300+ PHP versions simultaneously
<?php function ctype_print_utf(string $string): bool { return preg_match('/[[:cntrl:]]/', $string) === 0; } var_dump(ctype_print_utf('Garc�a'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L9CW9
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'ctype_print_utf'
          2        SEND_VAL                                                 'Garc%EF%BF%BDa'
          3        DO_FCALL                                      0  $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Function ctype_print_utf:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L9CW9
function name:  ctype_print_utf
number of ops:  10
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5B%5B%3Acntrl%3A%5D%5D%2F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $1      
          5        IS_IDENTICAL                                     ~2      $1, 0
          6        VERIFY_RETURN_TYPE                                       ~2
          7      > RETURN                                                   ~2
    6     8*       VERIFY_RETURN_TYPE                                       
          9*     > RETURN                                                   null

End of function ctype_print_utf

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.93 ms | 1013 KiB | 16 Q