3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Wednesday, November 11'; $time = strtotime( $string ); echo time() . "\r\n"; echo date( 'Y-m-d h:i A', $time );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qaTtA
function name:  (null)
number of ops:  15
compiled vars:  !0 = $string, !1 = $time
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Wednesday%2C+November+11'
    4     1        INIT_FCALL                                               'strtotime'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    5     5        INIT_FCALL                                               'time'
          6        DO_ICALL                                         $5      
          7        CONCAT                                           ~6      $5, '%0D%0A'
          8        ECHO                                                     ~6
    6     9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'Y-m-d+h%3Ai+A'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $7      
         13        ECHO                                                     $7
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.11 ms | 1394 KiB | 19 Q