3v4l.org

run code in 500+ PHP versions simultaneously
<?php $someString = "abcABC!!!ABCabc"; echo strtolower(preg_replace("/[^a-zA-Z]/", "", $someString)); echo "\n\n\n"; $tmp = strtolower($someString); echo preg_replace("/[^a-zA-Z]/", "", $tmp);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Efqen
function name:  (null)
number of ops:  16
compiled vars:  !0 = $someString, !1 = $tmp
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'abcABC%21%21%21ABCabc'
    5     1        INIT_FCALL                                                   'strtolower'
          2        FRAMELESS_ICALL_3                preg_replace        ~3      '%2F%5B%5Ea-zA-Z%5D%2F', ''
          3        OP_DATA                                                      !0
          4        SEND_VAL                                                     ~3
          5        DO_ICALL                                             $4      
          6        ECHO                                                         $4
    7     7        ECHO                                                         '%0A%0A%0A'
    9     8        INIT_FCALL                                                   'strtolower'
          9        SEND_VAR                                                     !0
         10        DO_ICALL                                             $5      
         11        ASSIGN                                                       !1, $5
   10    12        FRAMELESS_ICALL_3                preg_replace        ~7      '%2F%5B%5Ea-zA-Z%5D%2F', ''
         13        OP_DATA                                                      !1
         14        ECHO                                                         ~7
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
170.99 ms | 2365 KiB | 14 Q