3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = time(); $new = new DateTime('@'.$now); echo $new->format('O');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OiFMb
function name:  (null)
number of ops:  13
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        NEW                                              $4      'DateTime'
          4        CONCAT                                           ~5      '%40', !0
          5        SEND_VAL_EX                                              ~5
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !1, $4
    6     8        INIT_METHOD_CALL                                         !1, 'format'
          9        SEND_VAL_EX                                              'O'
         10        DO_FCALL                                      0  $8      
         11        ECHO                                                     $8
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.83 ms | 1394 KiB | 15 Q