3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = new DateTime(null, new DateTimeZone('UTC')); $briefing_document = sprintf('%s %s-%s %s', $now->format('Y-m-d'), 'LPA', 'LEJ', 'DE1467' ); echo $briefing_document;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FNNGD
function name:  (null)
number of ops:  21
compiled vars:  !0 = $now, !1 = $briefing_document
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'DateTime'
          1        SEND_VAL_EX                                              null
          2        NEW                                              $3      'DateTimeZone'
          3        SEND_VAL_EX                                              'UTC'
          4        DO_FCALL                                      0          
          5        SEND_VAR_NO_REF_EX                                       $3
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !0, $2
    7     8        INIT_FCALL                                               'sprintf'
          9        SEND_VAL                                                 '%25s+%25s-%25s+%25s'
    8    10        INIT_METHOD_CALL                                         !0, 'format'
         11        SEND_VAL_EX                                              'Y-m-d'
         12        DO_FCALL                                      0  $7      
         13        SEND_VAR                                                 $7
    9    14        SEND_VAL                                                 'LPA'
   10    15        SEND_VAL                                                 'LEJ'
   11    16        SEND_VAL                                                 'DE1467'
         17        DO_ICALL                                         $8      
    7    18        ASSIGN                                                   !1, $8
   15    19        ECHO                                                     !1
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.03 ms | 1399 KiB | 15 Q