3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = date('Y-m-d 23:59:59', 1445502602); var_dump($d); new \DateTime("20152015");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/89Yd0
function name:  (null)
number of ops:  13
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y-m-d+23%3A59%3A59'
          2        SEND_VAL                                                 1445502602
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    4     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    5     8        NEW                                              $4      'DateTime'
          9        SEND_VAL_EX                                              '20152015'
         10        DO_FCALL                                      0          
         11        FREE                                                     $4
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.24 ms | 1385 KiB | 17 Q