3v4l.org

run code in 500+ PHP versions simultaneously
<?php $data = "The time is 1020 and the time is 1340 and 1550"; $data = preg_replace('/\b(\d{2})(\d{2})\b/', "$1:$2", $data); echo $data;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4dQFt
function name:  (null)
number of ops:  6
compiled vars:  !0 = $data
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'The+time+is+1020+and+the+time+is+1340+and+1550'
    4     1        FRAMELESS_ICALL_3                preg_replace        ~2      '%2F%5Cb%28%5Cd%7B2%7D%29%28%5Cd%7B2%7D%29%5Cb%2F', '%241%3A%242'
          2        OP_DATA                                                      !0
          3        ASSIGN                                                       !0, ~2
    5     4        ECHO                                                         !0
    6     5      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
212.49 ms | 2228 KiB | 13 Q