3v4l.org

run code in 200+ php & hhvm versions
<?php $timestamp = strtotime('0000-02-20 00:00:00 UTC'); $timestamp2 = strtotime('0001-02-20 00:00:00 UTC'); print $timestamp . "\n"; $date_time = date_create('@' . $timestamp); print_r($date_time); print $timestamp2 . "\n"; $date_time2 = date_create('@' . $timestamp2); print_r($date_time2);
based on dlYio
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TvtuW
function name:  (null)
number of ops:  29
compiled vars:  !0 = $timestamp, !1 = $timestamp2, !2 = $date_time, !3 = $date_time2
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   INIT_FCALL                                               'strtotime'
         1        SEND_VAL                                                 '0000-02-20+00%3A00%3A00+UTC'
         2        DO_ICALL                                         $4      
         3        ASSIGN                                                   !0, $4
   4     4        INIT_FCALL                                               'strtotime'
         5        SEND_VAL                                                 '0001-02-20+00%3A00%3A00+UTC'
         6        DO_ICALL                                         $6      
         7        ASSIGN                                                   !1, $6
   6     8        CONCAT                                           ~8      !0, '%0A'
         9        ECHO                                                     ~8
   7    10        INIT_FCALL                                               'date_create'
        11        CONCAT                                           ~9      '%40', !0
        12        SEND_VAL                                                 ~9
        13        DO_ICALL                                         $10     
        14        ASSIGN                                                   !2, $10
   8    15        INIT_FCALL                                               'print_r'
        16        SEND_VAR                                                 !2
        17        DO_ICALL                                                 
  10    18        CONCAT                                           ~13     !1, '%0A'
        19        ECHO                                                     ~13
  11    20        INIT_FCALL                                               'date_create'
        21        CONCAT                                           ~14     '%40', !1
        22        SEND_VAL                                                 ~14
        23        DO_ICALL                                         $15     
        24        ASSIGN                                                   !3, $15
  12    25        INIT_FCALL                                               'print_r'
        26        SEND_VAR                                                 !3
        27        DO_ICALL                                                 
        28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0