3v4l.org

run code in 500+ PHP versions simultaneously
<?php $date = '2040-02-01'; $format = 'l d F Y H:i'; $mydate1 = strtotime($date); echo '', date($format, $mydate1), '';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/d05V7
function name:  (null)
number of ops:  14
compiled vars:  !0 = $date, !1 = $format, !2 = $mydate1
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '2040-02-01'
    4     1        ASSIGN                                                       !1, 'l+d+F+Y+H%3Ai'
    6     2        INIT_FCALL                                                   'strtotime'
          3        SEND_VAR                                                     !0
          4        DO_ICALL                                             $5      
          5        ASSIGN                                                       !2, $5
    7     6        ECHO                                                         ''
          7        INIT_FCALL                                                   'date'
          8        SEND_VAR                                                     !1
          9        SEND_VAR                                                     !2
         10        DO_ICALL                                             $7      
         11        ECHO                                                         $7
         12        ECHO                                                         ''
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
233.22 ms | 2953 KiB | 15 Q