3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ts1 = '10-5-2013'; $ts2 = '20-5-2013'; echo date('r', strtotime($ts1)); echo date('r', strtotime($ts2));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NVoCk
function name:  (null)
number of ops:  19
compiled vars:  !0 = $ts1, !1 = $ts2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '10-5-2013'
    3     1        ASSIGN                                                   !1, '20-5-2013'
    5     2        INIT_FCALL                                               'date'
          3        SEND_VAL                                                 'r'
          4        INIT_FCALL                                               'strtotime'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        SEND_VAR                                                 $4
          8        DO_ICALL                                         $5      
          9        ECHO                                                     $5
    6    10        INIT_FCALL                                               'date'
         11        SEND_VAL                                                 'r'
         12        INIT_FCALL                                               'strtotime'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                         $6      
         15        SEND_VAR                                                 $6
         16        DO_ICALL                                         $7      
         17        ECHO                                                     $7
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.67 ms | 1399 KiB | 17 Q