3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "test" . "\n"; $time = strtotime('11/28/1975'); echo $time . "\n"; $newformat = date('Y-m-d',$time); echo $newformat . "\n"; echo number_format(microtime(true)*1000,0,'.',''); $today = getdate(); echo $today;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hKMXs
function name:  (null)
number of ops:  30
compiled vars:  !0 = $time, !1 = $newformat, !2 = $today
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'test%0A'
    4     1        INIT_FCALL                                               'strtotime'
          2        SEND_VAL                                                 '11%2F28%2F1975'
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    6     5        CONCAT                                           ~5      !0, '%0A'
          6        ECHO                                                     ~5
    8     7        INIT_FCALL                                               'date'
          8        SEND_VAL                                                 'Y-m-d'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $6      
         11        ASSIGN                                                   !1, $6
   10    12        CONCAT                                           ~8      !1, '%0A'
         13        ECHO                                                     ~8
   12    14        INIT_FCALL                                               'number_format'
         15        INIT_FCALL                                               'microtime'
         16        SEND_VAL                                                 <true>
         17        DO_ICALL                                         $9      
         18        MUL                                              ~10     $9, 1000
         19        SEND_VAL                                                 ~10
         20        SEND_VAL                                                 0
         21        SEND_VAL                                                 '.'
         22        SEND_VAL                                                 ''
         23        DO_ICALL                                         $11     
         24        ECHO                                                     $11
   14    25        INIT_FCALL                                               'getdate'
         26        DO_ICALL                                         $12     
         27        ASSIGN                                                   !2, $12
   15    28        ECHO                                                     !2
         29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.49 ms | 1395 KiB | 23 Q