3v4l.org

run code in 500+ PHP versions simultaneously
<?php $re = '/\D\K(?=\d[.:]\d{2}\b)/'; $norm = 'mo-sa9:00-20:00uhr'; echo preg_replace($re, " 0", $norm);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Fp3GB
function name:  (null)
number of ops:  6
compiled vars:  !0 = $re, !1 = $norm
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%2F%5CD%5CK%28%3F%3D%5Cd%5B.%3A%5D%5Cd%7B2%7D%5Cb%29%2F'
    4     1        ASSIGN                                                       !1, 'mo-sa9%3A00-20%3A00uhr'
    6     2        FRAMELESS_ICALL_3                preg_replace        ~4      !0, '+0'
          3        OP_DATA                                                      !1
          4        ECHO                                                         ~4
          5      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.3 ms | 1872 KiB | 13 Q