3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dutch_date = "donderdag 27 maart 2014 00:30"; $converted_date = array(); $pattern = "#(?P<day_of_the_week>\w+)\ (?P<day>\d+)\ (?P<month>\w+)\ (?P<year>\d+)\ (?P<hour>\d+):(?P<minute>\d+)#s"; preg_match($pattern,$dutch_date, $converted_date); print_r($converted_date); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IkuT6
function name:  (null)
number of ops:  12
compiled vars:  !0 = $dutch_date, !1 = $converted_date, !2 = $pattern
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'donderdag+27+maart+2014+00%3A30'
    4     1        ASSIGN                                                   !1, <array>
    5     2        ASSIGN                                                   !2, '%23%28%3FP%3Cday_of_the_week%3E%5Cw%2B%29%5C+%28%3FP%3Cday%3E%5Cd%2B%29%5C+%28%3FP%3Cmonth%3E%5Cw%2B%29%5C+%28%3FP%3Cyear%3E%5Cd%2B%29%5C+%28%3FP%3Chour%3E%5Cd%2B%29%3A%28%3FP%3Cminute%3E%5Cd%2B%29%23s'
    6     3        INIT_FCALL                                               'preg_match'
          4        SEND_VAR                                                 !2
          5        SEND_VAR                                                 !0
          6        SEND_REF                                                 !1
          7        DO_ICALL                                                 
    7     8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
    8    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.81 ms | 1394 KiB | 17 Q