3v4l.org

run code in 500+ PHP versions simultaneously
<?php $today = new DateTime(); ob_start(); print_r($today); ob_end_clean(); print($today->date);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/r8VqE
function name:  (null)
number of ops:  13
compiled vars:  !0 = $today
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   NEW                                                  $1      'DateTime'
          1        DO_FCALL                                          0          
          2        ASSIGN                                                       !0, $1
    5     3        INIT_FCALL                                                   'ob_start'
          4        DO_ICALL                                                     
    6     5        INIT_FCALL                                                   'print_r'
          6        SEND_VAR                                                     !0
          7        DO_ICALL                                                     
    7     8        INIT_FCALL                                                   'ob_end_clean'
          9        DO_ICALL                                                     
    9    10        FETCH_OBJ_R                                          ~7      !0, 'date'
         11        ECHO                                                         ~7
         12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
152.22 ms | 3098 KiB | 15 Q