3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = 'asdfghjkl-1234567890'; for ($i = 0;$i < 100;$i++) { $alnum = str_replace('-', '', str_replace('_', '', $text)); ctype_alnum($alnum); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 3
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 3
Branch analysis from position: 20
Branch analysis from position: 3
filename:       /in/geObU
function name:  (null)
number of ops:  21
compiled vars:  !0 = $text, !1 = $i, !2 = $alnum
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'asdfghjkl-1234567890'
    5     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->18
    7     3    >   INIT_FCALL                                               'str_replace'
          4        SEND_VAL                                                 '-'
          5        SEND_VAL                                                 ''
          6        INIT_FCALL                                               'str_replace'
          7        SEND_VAL                                                 '_'
          8        SEND_VAL                                                 ''
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $5      
         11        SEND_VAR                                                 $5
         12        DO_ICALL                                         $6      
         13        ASSIGN                                                   !2, $6
    8    14        INIT_FCALL                                               'ctype_alnum'
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                                 
    5    17        PRE_INC                                                  !1
         18    >   IS_SMALLER                                               !1, 100
         19      > JMPNZ                                                    ~10, ->3
    9    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.29 ms | 1386 KiB | 17 Q