3v4l.org

run code in 300+ PHP versions simultaneously
<?php function generate_remote_file_name() { $timestamp = date('omdHis'); $file_name = "LeanCorData{$timestamp}.csv"; return $file_name; } echo generate_remote_file_name();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EhEZJ
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'generate_remote_file_name'
          1        DO_FCALL                                      0  $0      
          2        ECHO                                                     $0
          3      > RETURN                                                   1

Function generate_remote_file_name:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EhEZJ
function name:  generate_remote_file_name
number of ops:  10
compiled vars:  !0 = $timestamp, !1 = $file_name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'omdHis'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    5     4        ROPE_INIT                                     3  ~5      'LeanCorData'
          5        ROPE_ADD                                      1  ~5      ~5, !0
          6        ROPE_END                                      2  ~4      ~5, '.csv'
          7        ASSIGN                                                   !1, ~4
    6     8      > RETURN                                                   !1
    7     9*     > RETURN                                                   null

End of function generate_remote_file_name

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.27 ms | 1396 KiB | 16 Q