3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "827/1/2007KOM1/9/2000 7/7/2015 1-7-2001 7.7.2001 "; //echo preg_replace("/(\d+)-(\d+)-(\d+)/", "$2/$3/$1", "2007-01-25"); echo preg_replace( "|(\s\d+/)(\d/20)|", "${1}0$2", $s); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4ptaN
function name:  (null)
number of ops:  10
compiled vars:  !0 = $s, !1 = $1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '827%2F1%2F2007KOM1%2F9%2F2000+7%2F7%2F2015+1-7-2001+7.7.2001+'
    6     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%7C%28%5Cs%5Cd%2B%2F%29%28%5Cd%2F20%29%7C'
    7     3        NOP                                                      
          4        FAST_CONCAT                                      ~3      !1, '0%242'
          5        SEND_VAL                                                 ~3
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $4      
          8        ECHO                                                     $4
    9     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.36 ms | 1394 KiB | 15 Q