3v4l.org

run code in 300+ PHP versions simultaneously
<?php // set the default timezone to use. Available since PHP 5.1 date_default_timezone_set('Etc/GMT+5'); // Prints something like: Monday echo date("l"); // Prints something like: Monday 8th of August 2005 03:12:46 PM echo date('l jS \of F Y h:i:s A'); /* use the constants in the format parameter */ // prints something like: Wed, 25 Sep 2013 15:28:57 -0700 echo date(DATE_RFC2822); // prints something like: 2000-07-01T00:00:00+00:00 echo date(DATE_ATOM, mktime(0, 0, 0, 7, 1, 2000)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D09L0
function name:  (null)
number of ops:  29
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'Etc%2FGMT%2B5'
          2        DO_ICALL                                                 
    7     3        INIT_FCALL                                               'date'
          4        SEND_VAL                                                 'l'
          5        DO_ICALL                                         $1      
          6        ECHO                                                     $1
   10     7        INIT_FCALL                                               'date'
          8        SEND_VAL                                                 'l+jS+%5Cof+F+Y+h%3Ai%3As+A'
          9        DO_ICALL                                         $2      
         10        ECHO                                                     $2
   14    11        INIT_FCALL                                               'date'
         12        SEND_VAL                                                 'D%2C+d+M+Y+H%3Ai%3As+O'
         13        DO_ICALL                                         $3      
         14        ECHO                                                     $3
   17    15        INIT_FCALL                                               'date'
         16        SEND_VAL                                                 'Y-m-d%5CTH%3Ai%3AsP'
         17        INIT_FCALL                                               'mktime'
         18        SEND_VAL                                                 0
         19        SEND_VAL                                                 0
         20        SEND_VAL                                                 0
         21        SEND_VAL                                                 7
         22        SEND_VAL                                                 1
         23        SEND_VAL                                                 2000
         24        DO_ICALL                                         $4      
         25        SEND_VAR                                                 $4
         26        DO_ICALL                                         $5      
         27        ECHO                                                     $5
   18    28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.54 ms | 943 KiB | 20 Q