3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
143.66 ms | 1876 KiB | 13 Q