3v4l.org

run code in 300+ PHP versions simultaneously
<?php System.out.print('Hi'); $x = new DateTime('now'); echo $x->format('Y-m-d H:i:s');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HhRCd
function name:  (null)
number of ops:  15
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_CONSTANT                                   ~1      'System'
          1        FETCH_CONSTANT                                   ~2      'out'
          2        CONCAT                                           ~3      ~1, ~2
          3        ECHO                                                     'Hi'
          4        CONCAT                                           ~4      ~3, '1'
          5        FREE                                                     ~4
    5     6        NEW                                              $5      'DateTime'
          7        SEND_VAL_EX                                              'now'
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !0, $5
    6    10        INIT_METHOD_CALL                                         !0, 'format'
         11        SEND_VAL_EX                                              'Y-m-d+H%3Ai%3As'
         12        DO_FCALL                                      0  $8      
         13        ECHO                                                     $8
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.48 ms | 1384 KiB | 13 Q