3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = floor(time()/86400)*86400; var_dump($a); var_dump(date('Y-m-d H:i:s', $a)); var_dump(date('Y-m-d H:i:s', time()));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/teqNo
function name:  (null)
number of ops:  28
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'floor'
          1        INIT_FCALL                                               'time'
          2        DO_ICALL                                         $1      
          3        DIV                                              ~2      $1, 86400
          4        SEND_VAL                                                 ~2
          5        DO_ICALL                                         $3      
          6        MUL                                              ~4      $3, 86400
          7        ASSIGN                                                   !0, ~4
    5     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
    6    11        INIT_FCALL                                               'var_dump'
         12        INIT_FCALL                                               'date'
         13        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $7      
         16        SEND_VAR                                                 $7
         17        DO_ICALL                                                 
    7    18        INIT_FCALL                                               'var_dump'
         19        INIT_FCALL                                               'date'
         20        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         21        INIT_FCALL                                               'time'
         22        DO_ICALL                                         $9      
         23        SEND_VAR                                                 $9
         24        DO_ICALL                                         $10     
         25        SEND_VAR                                                 $10
         26        DO_ICALL                                                 
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.15 ms | 1395 KiB | 21 Q