3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strtotime('30-01-2013'); echo ' '; echo date('Y-m-d',strtotime('30/01/2013')); echo '<br/>'; echo date('Y-m-d',strtotime('30-01-2013')); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4vQZj
function name:  (null)
number of ops:  23
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '30-01-2013'
          2        DO_ICALL                                         $0      
          3        ECHO                                                     $0
    3     4        ECHO                                                     '++++++++++'
    4     5        INIT_FCALL                                               'date'
          6        SEND_VAL                                                 'Y-m-d'
          7        INIT_FCALL                                               'strtotime'
          8        SEND_VAL                                                 '30%2F01%2F2013'
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        DO_ICALL                                         $2      
         12        ECHO                                                     $2
    5    13        ECHO                                                     '%3Cbr%2F%3E'
    6    14        INIT_FCALL                                               'date'
         15        SEND_VAL                                                 'Y-m-d'
         16        INIT_FCALL                                               'strtotime'
         17        SEND_VAL                                                 '30-01-2013'
         18        DO_ICALL                                         $3      
         19        SEND_VAR                                                 $3
         20        DO_ICALL                                         $4      
         21        ECHO                                                     $4
    8    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.01 ms | 1395 KiB | 17 Q