3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dd = 'sfadsfa'; $oo = platne_datum('3.3.2010'); echo $oo; var_dump(explode('-', '')); die(); function platne_datum($datum) { return preg_match('~^([1-9]|19|[12][0-8]|29(?=\\.([^2]|2\\.(([02468][048]|[13579][26])00|[0-9]{2}(0[48]|[2468][048]|[13579][26]))))|30(?=\\.[^2])|31(?=\\.([13578][02]?\\.)))\\.([1-9]|1[012])\\.[0-9]{4}$~D', $datum); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/MnYDU
function name:  (null)
number of ops:  15
compiled vars:  !0 = $dd, !1 = $oo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'sfadsfa'
    3     1        INIT_FCALL_BY_NAME                                       'platne_datum'
          2        SEND_VAL_EX                                              '3.3.2010'
          3        DO_FCALL                                      0  $3      
          4        ASSIGN                                                   !1, $3
          5        ECHO                                                     !1
    4     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'explode'
          8        SEND_VAL                                                 '-'
          9        SEND_VAL                                                 ''
         10        DO_ICALL                                         $5      
         11        SEND_VAR                                                 $5
         12        DO_ICALL                                                 
         13      > EXIT                                                     
    8    14*     > RETURN                                                   1

Function platne_datum:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MnYDU
function name:  platne_datum
number of ops:  7
compiled vars:  !0 = $datum
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
    7     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%7E%5E%28%5B1-9%5D%7C19%7C%5B12%5D%5B0-8%5D%7C29%28%3F%3D%5C.%28%5B%5E2%5D%7C2%5C.%28%28%5B02468%5D%5B048%5D%7C%5B13579%5D%5B26%5D%2900%7C%5B0-9%5D%7B2%7D%280%5B48%5D%7C%5B2468%5D%5B048%5D%7C%5B13579%5D%5B26%5D%29%29%29%29%7C30%28%3F%3D%5C.%5B%5E2%5D%29%7C31%28%3F%3D%5C.%28%5B13578%5D%5B02%5D%3F%5C.%29%29%29%5C.%28%5B1-9%5D%7C1%5B012%5D%29%5C.%5B0-9%5D%7B4%7D%24%7ED'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $1      
          5      > RETURN                                                   $1
    8     6*     > RETURN                                                   null

End of function platne_datum

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.42 ms | 1400 KiB | 19 Q