3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x1 = strtotime('00-00-00 00:00:00'); $x2 = strtotime('0000-00-00 00:00:00'); $x3 = 0; echo date (DATE_RFC2822, $x1)."\n"; echo date (DATE_RFC2822, $x2)."\n"; echo date (DATE_RFC2822, $x3)."\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/777f9
function name:  (null)
number of ops:  28
compiled vars:  !0 = $x1, !1 = $x2, !2 = $x3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '00-00-00+00%3A00%3A00'
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    4     4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 '0000-00-00+00%3A00%3A00'
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !1, $5
    5     8        ASSIGN                                                   !2, 0
    7     9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'D%2C+d+M+Y+H%3Ai%3As+O'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $8      
         13        CONCAT                                           ~9      $8, '%0A'
         14        ECHO                                                     ~9
    8    15        INIT_FCALL                                               'date'
         16        SEND_VAL                                                 'D%2C+d+M+Y+H%3Ai%3As+O'
         17        SEND_VAR                                                 !1
         18        DO_ICALL                                         $10     
         19        CONCAT                                           ~11     $10, '%0A'
         20        ECHO                                                     ~11
    9    21        INIT_FCALL                                               'date'
         22        SEND_VAL                                                 'D%2C+d+M+Y+H%3Ai%3As+O'
         23        SEND_VAR                                                 !2
         24        DO_ICALL                                         $12     
         25        CONCAT                                           ~13     $12, '%0A'
         26        ECHO                                                     ~13
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.36 ms | 1460 KiB | 15 Q