3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = microtime(true); echo 'a'.'<a'; $time = microtime(true) - $time; echo 'array_diff() took ' . number_format($time, 3) . ' seconds and returned ' . count($data_diff1) . " entries\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Eetg5
function name:  (null)
number of ops:  21
compiled vars:  !0 = $time, !1 = $data_diff1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'microtime'
          1        SEND_VAL                                                 <true>
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    5     4        ECHO                                                     'a%3Ca'
    7     5        INIT_FCALL                                               'microtime'
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $4      
          8        SUB                                              ~5      $4, !0
          9        ASSIGN                                                   !0, ~5
    9    10        INIT_FCALL                                               'number_format'
         11        SEND_VAR                                                 !0
         12        SEND_VAL                                                 3
         13        DO_ICALL                                         $7      
         14        CONCAT                                           ~8      'array_diff%28%29+took+', $7
         15        CONCAT                                           ~9      ~8, '+seconds+and+returned+'
         16        COUNT                                            ~10     !1
         17        CONCAT                                           ~11     ~9, ~10
         18        CONCAT                                           ~12     ~11, '+entries%0A'
         19        ECHO                                                     ~12
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.53 ms | 1399 KiB | 17 Q