3v4l.org

run code in 300+ PHP versions simultaneously
<?php function get_mysqldate_from_stdtime($std_time='') { if (preg_match("@(\\d{1,2})\.(\\d{1,2})\.(\\d{4})@", $std_time, $matches) <> 1) { print_r($matches); } } get_mysqldate_from_stdtime("01.10.2014"); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MspuO
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   INIT_FCALL                                               'get_mysqldate_from_stdtime'
          1        SEND_VAL                                                 '01.10.2014'
          2        DO_FCALL                                      0          
   16     3      > RETURN                                                   1

Function get_mysqldate_from_stdtime:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 11
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/MspuO
function name:  get_mysqldate_from_stdtime
number of ops:  12
compiled vars:  !0 = $std_time, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV_INIT                                        !0      ''
    6     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%40%28%5Cd%7B1%2C2%7D%29%5C.%28%5Cd%7B1%2C2%7D%29%5C.%28%5Cd%7B4%7D%29%40'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                         $2      
          6        IS_NOT_EQUAL                                             $2, 1
          7      > JMPZ                                                     ~3, ->11
    8     8    >   INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
   12    11    > > RETURN                                                   null

End of function get_mysqldate_from_stdtime

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.5 ms | 1397 KiB | 18 Q