3v4l.org

run code in 300+ PHP versions simultaneously
<?php function remNum( $text ) { //echo preg_replace("/[^0-9]/","",$text); echo preg_replace("/[^a-z]/","",$text); } remNum("123wret456fgh678"); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZOOHT
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'remnum'
          1        SEND_VAL                                                 '123wret456fgh678'
          2        DO_FCALL                                      0          
   10     3      > RETURN                                                   1

Function remnum:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZOOHT
function name:  remNum
number of ops:  8
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5B%5Ea-z%5D%2F'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $1      
          6        ECHO                                                     $1
    6     7      > RETURN                                                   null

End of function remnum

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.3 ms | 1388 KiB | 16 Q