3v4l.org

run code in 500+ PHP versions simultaneously
<?php echo preg_replace('/[^\d-\.]/', '', '123abc');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NuLqI
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   FRAMELESS_ICALL_3                preg_replace        ~0      '%2F%5B%5E%5Cd-%5C.%5D%2F', ''
          1        OP_DATA                                                      '123abc'
          2        ECHO                                                         ~0
          3      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.94 ms | 2564 KiB | 13 Q