3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dutch_date = "donderdag 27 maart 2014 00:30"; $dutch_day = array(); preg_match("#(?P<day_of_the_week>\w+)#s",$dutch_date, $dutch_day); print_r($dutch_day); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nScec
function name:  (null)
number of ops:  11
compiled vars:  !0 = $dutch_date, !1 = $dutch_day
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        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%23%28%3FP%3Cday_of_the_week%3E%5Cw%2B%29%23s'
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !1
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
    7    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.04 ms | 1385 KiB | 17 Q