3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = time(); $new = DateTime('@'.$now); $new->format('O');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I4OeZ
function name:  (null)
number of ops:  12
compiled vars:  !0 = $now, !1 = $new
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $2      
          2        ASSIGN                                                   !0, $2
    4     3        INIT_FCALL_BY_NAME                                       'DateTime'
          4        CONCAT                                           ~4      '%40', !0
          5        SEND_VAL_EX                                              ~4
          6        DO_FCALL                                      0  $5      
          7        ASSIGN                                                   !1, $5
    6     8        INIT_METHOD_CALL                                         !1, 'format'
          9        SEND_VAL_EX                                              'O'
         10        DO_FCALL                                      0          
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.6 ms | 1394 KiB | 15 Q