3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Z2ttC
function name:  (null)
number of ops:  5
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '12345678900'
   19     1        INIT_FCALL                                               'fd'
          2        SEND_VAR                                                 !0
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Function fd:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 13
Branch analysis from position: 12
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/Z2ttC
function name:  fd
number of ops:  25
compiled vars:  !0 = $cpf, !1 = $tamanhoCPF, !2 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    7     1        STRLEN                                           ~3      !0
          2        ASSIGN                                                   !1, ~3
    9     3        INIT_FCALL                                               'ctype_digit'
          4        CAST                                          6  ~5      !0
          5        SEND_VAL                                                 ~5
          6        DO_ICALL                                         $6      
          7        BOOL_NOT                                         ~7      $6
          8      > JMPNZ_EX                                         ~7      ~7, ->11
          9    >   IS_NOT_EQUAL                                     ~8      !1, 11
         10        BOOL                                             ~7      ~8
         11    > > JMPZ                                                     ~7, ->13
   10    12    > > EXIT                                                     'O+campo+CPF+Inv%C3%A1lido'
   14    13    >   ECHO                                                     'CPF+foi+digitado+corretamente+%3C%2Fbr%3E'
   15    14        INIT_FCALL                                               'str_split'
         15        SEND_VAR                                                 !0
         16        SEND_VAL                                                 3
         17        DO_ICALL                                         $9      
         18        ASSIGN                                                   !2, $9
   16    19        INIT_FCALL                                               'printf'
         20        SEND_VAL                                                 '%25s.%25s.%25s-%25s'
         21        SEND_UNPACK                                              !2
         22        CHECK_UNDEF_ARGS                                         
         23        DO_ICALL                                                 
   17    24      > RETURN                                                   null

End of function fd

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
274.4 ms | 974 KiB | 17 Q