3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = '2015/09/09'; print rge_replace('([0-9]+)/([0-9]+)/([0-9]+)','\\2/\\3/\\1',$a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HUjqI
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2015%2F09%2F09'
    3     1        INIT_FCALL_BY_NAME                                       'rge_replace'
          2        SEND_VAL_EX                                              '%28%5B0-9%5D%2B%29%2F%28%5B0-9%5D%2B%29%2F%28%5B0-9%5D%2B%29'
          3        SEND_VAL_EX                                              '%5C2%2F%5C3%2F%5C1'
          4        SEND_VAR_EX                                              !0
          5        DO_FCALL                                      0  $2      
          6        ECHO                                                     $2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.54 ms | 1392 KiB | 13 Q