3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = new DateTime(); echo "it's {$now->format('Y-m-d')} o'clock";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7RBAi
function name:  (null)
number of ops:  11
compiled vars:  !0 = $now
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'DateTime'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    4     3        ROPE_INIT                                     3  ~6      'it%27s+'
          4        INIT_METHOD_CALL                                         !0, 'format'
          5        SEND_VAL_EX                                              'Y-m-d'
          6        DO_FCALL                                      0  $4      
          7        ROPE_ADD                                      1  ~6      ~6, $4
          8        ROPE_END                                      2  ~5      ~6, '+o%27clock'
          9        ECHO                                                     ~5
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.65 ms | 1397 KiB | 13 Q