3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = new DateTime(); usleep(10); // wait for 0.001 ms var_dump((new DateTime())->format('u') == $now->format('u'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5f1O2
function name:  (null)
number of ops:  19
compiled vars:  !0 = $now
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'DateTime'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    3     3        INIT_FCALL                                               'usleep'
          4        SEND_VAL                                                 10
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'var_dump'
          7        NEW                                              $5      'DateTime'
          8        DO_FCALL                                      0          
          9        INIT_METHOD_CALL                                         $5, 'format'
         10        SEND_VAL_EX                                              'u'
         11        DO_FCALL                                      0  $7      
         12        INIT_METHOD_CALL                                         !0, 'format'
         13        SEND_VAL_EX                                              'u'
         14        DO_FCALL                                      0  $8      
         15        IS_EQUAL                                         ~9      $7, $8
         16        SEND_VAL                                                 ~9
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.4 ms | 1399 KiB | 17 Q