3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dateTime = new DateTime(); //Format: customer_export_2013-07-30_173612.csv $_filePrefix = 'customer_export_'; $_timestamp = $dateTime->format('Y-m-d_His'); $_hundreths = ($dateTime->format('u') / 1000);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HRakp
function name:  (null)
number of ops:  14
compiled vars:  !0 = $dateTime, !1 = $_filePrefix, !2 = $_timestamp, !3 = $_hundreths
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $4      'DateTime'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $4
    5     3        ASSIGN                                                   !1, 'customer_export_'
    6     4        INIT_METHOD_CALL                                         !0, 'format'
          5        SEND_VAL_EX                                              'Y-m-d_His'
          6        DO_FCALL                                      0  $8      
          7        ASSIGN                                                   !2, $8
    7     8        INIT_METHOD_CALL                                         !0, 'format'
          9        SEND_VAL_EX                                              'u'
         10        DO_FCALL                                      0  $10     
         11        DIV                                              ~11     $10, 1000
         12        ASSIGN                                                   !3, ~11
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.07 ms | 1393 KiB | 13 Q