3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Prints the day echo date("l") . "<br>"; // Prints the day, date, month, year, time, AM or PM echo date("l jS \of F Y h:i:s A") . "<br>"; // Prints October 3, 1975 was on a Friday echo "Oct 3,1975 was on a ".date("l", mktime(0,0,0,10,3,1975)) . "<br>"; // Use a constant in the format parameter echo date(DATE_RFC822) . "<br>"; // prints something like: 1975-10-03T00:00:00+00:00 echo date(DATE_ATOM,mktime(0,0,0,10,3,1975)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JInPl
function name:  (null)
number of ops:  44
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'l'
          2        DO_ICALL                                         $0      
          3        CONCAT                                           ~1      $0, '%3Cbr%3E'
          4        ECHO                                                     ~1
    6     5        INIT_FCALL                                               'date'
          6        SEND_VAL                                                 'l+jS+%5Cof+F+Y+h%3Ai%3As+A'
          7        DO_ICALL                                         $2      
          8        CONCAT                                           ~3      $2, '%3Cbr%3E'
          9        ECHO                                                     ~3
    9    10        INIT_FCALL                                               'date'
         11        SEND_VAL                                                 'l'
         12        INIT_FCALL                                               'mktime'
         13        SEND_VAL                                                 0
         14        SEND_VAL                                                 0
         15        SEND_VAL                                                 0
         16        SEND_VAL                                                 10
         17        SEND_VAL                                                 3
         18        SEND_VAL                                                 1975
         19        DO_ICALL                                         $4      
         20        SEND_VAR                                                 $4
         21        DO_ICALL                                         $5      
         22        CONCAT                                           ~6      'Oct+3%2C1975+was+on+a+', $5
         23        CONCAT                                           ~7      ~6, '%3Cbr%3E'
         24        ECHO                                                     ~7
   12    25        INIT_FCALL                                               'date'
         26        SEND_VAL                                                 'D%2C+d+M+y+H%3Ai%3As+O'
         27        DO_ICALL                                         $8      
         28        CONCAT                                           ~9      $8, '%3Cbr%3E'
         29        ECHO                                                     ~9
   15    30        INIT_FCALL                                               'date'
         31        SEND_VAL                                                 'Y-m-d%5CTH%3Ai%3AsP'
         32        INIT_FCALL                                               'mktime'
         33        SEND_VAL                                                 0
         34        SEND_VAL                                                 0
         35        SEND_VAL                                                 0
         36        SEND_VAL                                                 10
         37        SEND_VAL                                                 3
         38        SEND_VAL                                                 1975
         39        DO_ICALL                                         $10     
         40        SEND_VAR                                                 $10
         41        DO_ICALL                                         $11     
         42        ECHO                                                     $11
   16    43      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.6 ms | 1396 KiB | 17 Q