3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/London'); $dateString = '25 July 2014 15:01'; $date = date_create_from_format('j F Y G:i', $dateString); var_dump($date);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0FgMt
function name:  (null)
number of ops:  13
compiled vars:  !0 = $dateString, !1 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'Europe%2FLondon'
          2        DO_ICALL                                                 
    4     3        ASSIGN                                                   !0, '25+July+2014+15%3A01'
    5     4        INIT_FCALL                                               'date_create_from_format'
          5        SEND_VAL                                                 'j+F+Y+G%3Ai'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
    7     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.17 ms | 1394 KiB | 19 Q