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,'.','');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4T2vj
function name:  (null)
number of ops:  26
compiled vars:  !0 = $time, !1 = $newformat
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                                         $2      
          4        ASSIGN                                                   !0, $2
    6     5        CONCAT                                           ~4      !0, '%0A'
          6        ECHO                                                     ~4
    8     7        INIT_FCALL                                               'date'
          8        SEND_VAL                                                 'Y-m-d'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $5      
         11        ASSIGN                                                   !1, $5
   10    12        CONCAT                                           ~7      !1, '%0A'
         13        ECHO                                                     ~7
   12    14        INIT_FCALL                                               'number_format'
         15        INIT_FCALL                                               'microtime'
         16        SEND_VAL                                                 <true>
         17        DO_ICALL                                         $8      
         18        MUL                                              ~9      $8, 1000
         19        SEND_VAL                                                 ~9
         20        SEND_VAL                                                 0
         21        SEND_VAL                                                 '.'
         22        SEND_VAL                                                 ''
         23        DO_ICALL                                         $10     
         24        ECHO                                                     $10
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.27 ms | 1395 KiB | 21 Q