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('UTC+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'); // Prints: July 1, 2000 is on a Saturday echo "July 1, 2000 is on a " . date("l", mktime(0, 0, 0, 7, 1, 2000)); /* 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/jEjo5
function name:  (null)
number of ops:  43
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'UTC%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
   13    11        INIT_FCALL                                               'date'
         12        SEND_VAL                                                 'l'
         13        INIT_FCALL                                               'mktime'
         14        SEND_VAL                                                 0
         15        SEND_VAL                                                 0
         16        SEND_VAL                                                 0
         17        SEND_VAL                                                 7
         18        SEND_VAL                                                 1
         19        SEND_VAL                                                 2000
         20        DO_ICALL                                         $3      
         21        SEND_VAR                                                 $3
         22        DO_ICALL                                         $4      
         23        CONCAT                                           ~5      'July+1%2C+2000+is+on+a+', $4
         24        ECHO                                                     ~5
   17    25        INIT_FCALL                                               'date'
         26        SEND_VAL                                                 'D%2C+d+M+Y+H%3Ai%3As+O'
         27        DO_ICALL                                         $6      
         28        ECHO                                                     $6
   20    29        INIT_FCALL                                               'date'
         30        SEND_VAL                                                 'Y-m-d%5CTH%3Ai%3AsP'
         31        INIT_FCALL                                               'mktime'
         32        SEND_VAL                                                 0
         33        SEND_VAL                                                 0
         34        SEND_VAL                                                 0
         35        SEND_VAL                                                 7
         36        SEND_VAL                                                 1
         37        SEND_VAL                                                 2000
         38        DO_ICALL                                         $7      
         39        SEND_VAR                                                 $7
         40        DO_ICALL                                         $8      
         41        ECHO                                                     $8
   21    42      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.25 ms | 1396 KiB | 19 Q