3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $currentTime = new \Datetime(); echo "<pre>"; var_dump($currentTime); echo "</pre>"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/b52ve
function name:  (null)
number of ops:  12
compiled vars:  !0 = $currentTime
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    3     3        NEW                                              $2      'Datetime'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $2
    5     6        ECHO                                                     '%3Cpre%3E'
    6     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
    7    10        ECHO                                                     '%3C%2Fpre%3E'
    8    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.15 ms | 1394 KiB | 17 Q