3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strtotime('+0 second', time()) . "\n" . time(); var_dump( strtotime('+0 second', time()) === time() );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I86Lh
function name:  (null)
number of ops:  24
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '%2B0+second'
          2        INIT_FCALL                                               'time'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                         $1      
          6        CONCAT                                           ~2      $1, '%0A'
          7        INIT_FCALL                                               'time'
          8        DO_ICALL                                         $3      
          9        CONCAT                                           ~4      ~2, $3
         10        ECHO                                                     ~4
    7    11        INIT_FCALL                                               'var_dump'
         12        INIT_FCALL                                               'strtotime'
         13        SEND_VAL                                                 '%2B0+second'
         14        INIT_FCALL                                               'time'
         15        DO_ICALL                                         $5      
         16        SEND_VAR                                                 $5
         17        DO_ICALL                                         $6      
         18        INIT_FCALL                                               'time'
         19        DO_ICALL                                         $7      
         20        IS_IDENTICAL                                     ~8      $6, $7
         21        SEND_VAL                                                 ~8
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.6 ms | 1395 KiB | 19 Q