3v4l.org

run code in 300+ PHP versions simultaneously
<?php $today = getDate(); $testName = $today[year] . '' . $today[mon] . '' . $today[mday] . '-' . $today[hours] . '' . $today[minutes] . '.png'; echo($testName);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/d0TWc
function name:  (null)
number of ops:  25
compiled vars:  !0 = $today, !1 = $testName
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'getdate'
          1        DO_ICALL                                         $2      
          2        ASSIGN                                                   !0, $2
    5     3        FETCH_CONSTANT                                   ~4      'year'
          4        FETCH_DIM_R                                      ~5      !0, ~4
          5        CONCAT                                           ~6      ~5, ''
          6        FETCH_CONSTANT                                   ~7      'mon'
          7        FETCH_DIM_R                                      ~8      !0, ~7
          8        CONCAT                                           ~9      ~6, ~8
          9        CONCAT                                           ~10     ~9, ''
         10        FETCH_CONSTANT                                   ~11     'mday'
         11        FETCH_DIM_R                                      ~12     !0, ~11
         12        CONCAT                                           ~13     ~10, ~12
         13        CONCAT                                           ~14     ~13, '-'
         14        FETCH_CONSTANT                                   ~15     'hours'
         15        FETCH_DIM_R                                      ~16     !0, ~15
         16        CONCAT                                           ~17     ~14, ~16
         17        CONCAT                                           ~18     ~17, ''
         18        FETCH_CONSTANT                                   ~19     'minutes'
         19        FETCH_DIM_R                                      ~20     !0, ~19
         20        CONCAT                                           ~21     ~18, ~20
         21        CONCAT                                           ~22     ~21, '.png'
         22        ASSIGN                                                   !1, ~22
    6    23        ECHO                                                     !1
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.49 ms | 1399 KiB | 15 Q