3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.42 ms | 1394 KiB | 17 Q