3v4l.org

run code in 500+ PHP versions simultaneously
<?php $re = '/\b[a-z]+-[a-z]+\K\d:\d\d-\d\d:\d\duhr\b/'; $norm = 'mo-sa9:00-20:00uhr'; echo preg_replace($re, " 0$0", $norm);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WHDW5
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%5Cb%5Ba-z%5D%2B-%5Ba-z%5D%2B%5CK%5Cd%3A%5Cd%5Cd-%5Cd%5Cd%3A%5Cd%5Cduhr%5Cb%2F'
    4     1        ASSIGN                                                       !1, 'mo-sa9%3A00-20%3A00uhr'
    6     2        FRAMELESS_ICALL_3                preg_replace        ~4      !0, '+0%240'
          3        OP_DATA                                                      !1
          4        ECHO                                                         ~4
          5      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
156.8 ms | 1872 KiB | 13 Q