3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface I {} class A implements I{} $results = []; [$key, $value] = compute('instanceof [object]', function($instance) { $instance instanceof I; }); $results[$key] = $value; [$key, $value] = compute('class_implements [object]', function($instance) { in_array(I::class, class_implements(A::class)); }); $results[$key] = $value; [$key, $value] = compute('is_a [object]', function($instance) { is_a($instance, I::class); }); $results[$key] = $value; [$key, $value] = compute('is_a [class]', function($instance) { is_a(A::class, I::class, true); }); $results[$key] = $value; [$key, $value] = compute('reflection [class]', function($instance) { ( new ReflectionClass(A::class))->implementsInterface(I::class); }); $results[$key] = $value; function compute($name, $callback) { $instance = new A; $start = microtime(true); for($i = 1e5; $i; $i--) { $callback($instance); } $elapsedMs = (microtime(true) - $start)*1000; return [$name, $elapsedMs]; } asort($results); $best = min($results); $results = array_map(function($result) use($best) { return [ $result, $result / $best, ]; }, $results); $performance = 0; foreach($results as $name => $result) { [$elapsedMs, $performance] = $result; $extraTimeInPercent = ($performance - 1) * 100; echo sprintf( '%25s took %6.2f ms | +%3.0f%% | %s', $name, $elapsedMs, $extraTimeInPercent, str_pad('', ($performance * 10), '.') ) . PHP_EOL; }
Output for 8.2.6
instanceof [object] took 6.46 ms | + 0% | .......... Deprecated: Implicit conversion from float 17.38005609684086 to int loses precision in /in/8Cog7 on line 63 is_a [object] took 11.23 ms | + 74% | ................. Deprecated: Implicit conversion from float 24.531665190434012 to int loses precision in /in/8Cog7 on line 63 is_a [class] took 15.85 ms | +145% | ........................ Deprecated: Implicit conversion from float 28.644449365219955 to int loses precision in /in/8Cog7 on line 63 class_implements [object] took 18.50 ms | +186% | ............................ Deprecated: Implicit conversion from float 41.173604960141716 to int loses precision in /in/8Cog7 on line 63 reflection [class] took 26.60 ms | +312% | .........................................
Output for 8.2.3
instanceof [object] took 4.92 ms | + 0% | .......... Deprecated: Implicit conversion from float 20.141868009490146 to int loses precision in /in/8Cog7 on line 63 is_a [object] took 9.92 ms | +101% | .................... Deprecated: Implicit conversion from float 28.563404832227764 to int loses precision in /in/8Cog7 on line 63 is_a [class] took 14.06 ms | +186% | ............................ Deprecated: Implicit conversion from float 34.376119692054424 to int loses precision in /in/8Cog7 on line 63 class_implements [object] took 16.93 ms | +244% | .................................. Deprecated: Implicit conversion from float 44.05267999806323 to int loses precision in /in/8Cog7 on line 63 reflection [class] took 21.69 ms | +341% | ............................................
Output for 8.1.17
instanceof [object] took 5.09 ms | + 0% | .......... Deprecated: Implicit conversion from float 20.291526059242596 to int loses precision in /in/8Cog7 on line 63 is_a [object] took 10.32 ms | +103% | .................... Deprecated: Implicit conversion from float 27.283933258342707 to int loses precision in /in/8Cog7 on line 63 is_a [class] took 13.88 ms | +173% | ........................... Deprecated: Implicit conversion from float 33.2813085864267 to int loses precision in /in/8Cog7 on line 63 class_implements [object] took 16.93 ms | +233% | ................................. Deprecated: Implicit conversion from float 45.882545931758536 to int loses precision in /in/8Cog7 on line 63 reflection [class] took 23.34 ms | +359% | .............................................
Output for 8.1.10
instanceof [object] took 5.14 ms | + 0% | .......... Deprecated: Implicit conversion from float 18.595236989926185 to int loses precision in /in/8Cog7 on line 63 is_a [object] took 9.55 ms | + 86% | .................. Deprecated: Implicit conversion from float 24.79272085789889 to int loses precision in /in/8Cog7 on line 63 is_a [class] took 12.73 ms | +148% | ........................ Deprecated: Implicit conversion from float 33.74587994986305 to int loses precision in /in/8Cog7 on line 63 class_implements [object] took 17.33 ms | +237% | ................................. Deprecated: Implicit conversion from float 45.25323801123439 to int loses precision in /in/8Cog7 on line 63 reflection [class] took 23.24 ms | +353% | .............................................
Output for 8.1.9
instanceof [object] took 5.32 ms | + 0% | .......... Deprecated: Implicit conversion from float 18.565917552594986 to int loses precision in /in/8Cog7 on line 63 is_a [object] took 9.87 ms | + 86% | .................. Deprecated: Implicit conversion from float 24.805095769972638 to int loses precision in /in/8Cog7 on line 63 is_a [class] took 13.18 ms | +148% | ........................ Deprecated: Implicit conversion from float 31.399093885973176 to int loses precision in /in/8Cog7 on line 63 class_implements [object] took 16.69 ms | +214% | ............................... Deprecated: Implicit conversion from float 42.943973444579015 to int loses precision in /in/8Cog7 on line 63 reflection [class] took 22.83 ms | +329% | ..........................................
Output for 8.1.8
instanceof [object] took 5.41 ms | + 0% | .......... Deprecated: Implicit conversion from float 18.501321585903085 to int loses precision in /in/8Cog7 on line 63 is_a [object] took 10.01 ms | + 85% | .................. Deprecated: Implicit conversion from float 26.501762114537442 to int loses precision in /in/8Cog7 on line 63 is_a [class] took 14.34 ms | +165% | .......................... Deprecated: Implicit conversion from float 32.60484581497798 to int loses precision in /in/8Cog7 on line 63 class_implements [object] took 17.65 ms | +226% | ................................ Deprecated: Implicit conversion from float 42.909691629955944 to int loses precision in /in/8Cog7 on line 63 reflection [class] took 23.22 ms | +329% | ..........................................
Output for 8.1.7
instanceof [object] took 5.17 ms | + 0% | .......... Deprecated: Implicit conversion from float 20.368013281682344 to int loses precision in /in/8Cog7 on line 63 is_a [object] took 10.53 ms | +104% | .................... Deprecated: Implicit conversion from float 27.60237963475374 to int loses precision in /in/8Cog7 on line 63 is_a [class] took 14.27 ms | +176% | ........................... Deprecated: Implicit conversion from float 33.84615384615385 to int loses precision in /in/8Cog7 on line 63 class_implements [object] took 17.50 ms | +238% | ................................. Deprecated: Implicit conversion from float 45.24488101826232 to int loses precision in /in/8Cog7 on line 63 reflection [class] took 23.39 ms | +352% | .............................................
Output for 8.1.6
instanceof [object] took 5.13 ms | + 0% | .......... Deprecated: Implicit conversion from float 19.56279069767442 to int loses precision in /in/8Cog7 on line 63 is_a [object] took 10.03 ms | + 96% | ................... Deprecated: Implicit conversion from float 26.314883720930233 to int loses precision in /in/8Cog7 on line 63 is_a [class] took 13.49 ms | +163% | .......................... Deprecated: Implicit conversion from float 33.56604651162791 to int loses precision in /in/8Cog7 on line 63 class_implements [object] took 17.21 ms | +236% | ................................. Deprecated: Implicit conversion from float 47.288372093023256 to int loses precision in /in/8Cog7 on line 63 reflection [class] took 24.24 ms | +373% | ...............................................
Output for 8.1.5
instanceof [object] took 4.93 ms | + 0% | .......... Deprecated: Implicit conversion from float 20.1657405170331 to int loses precision in /in/8Cog7 on line 63 is_a [object] took 9.95 ms | +102% | .................... Deprecated: Implicit conversion from float 27.930417975356367 to int loses precision in /in/8Cog7 on line 63 is_a [class] took 13.78 ms | +179% | ........................... Deprecated: Implicit conversion from float 35.68253201256342 to int loses precision in /in/8Cog7 on line 63 class_implements [object] took 17.61 ms | +257% | ................................... Deprecated: Implicit conversion from float 46.362889586856724 to int loses precision in /in/8Cog7 on line 63 reflection [class] took 22.88 ms | +364% | ..............................................
Output for 8.1.4
instanceof [object] took 4.95 ms | + 0% | .......... Deprecated: Implicit conversion from float 18.792489167067888 to int loses precision in /in/8Cog7 on line 63 is_a [object] took 9.31 ms | + 88% | .................. Deprecated: Implicit conversion from float 26.65382763601348 to int loses precision in /in/8Cog7 on line 63 is_a [class] took 13.20 ms | +167% | .......................... Deprecated: Implicit conversion from float 37.11458834857968 to int loses precision in /in/8Cog7 on line 63 class_implements [object] took 18.38 ms | +271% | ..................................... Deprecated: Implicit conversion from float 46.03273952816562 to int loses precision in /in/8Cog7 on line 63 reflection [class] took 22.80 ms | +360% | ..............................................
Output for 8.1.3
instanceof [object] took 5.23 ms | + 0% | .......... Deprecated: Implicit conversion from float 19.23536113009797 to int loses precision in /in/8Cog7 on line 63 is_a [object] took 10.06 ms | + 92% | ................... Deprecated: Implicit conversion from float 25.7220323536113 to int loses precision in /in/8Cog7 on line 63 is_a [class] took 13.46 ms | +157% | ......................... Deprecated: Implicit conversion from float 33.47413989519253 to int loses precision in /in/8Cog7 on line 63 class_implements [object] took 17.51 ms | +235% | ................................. Deprecated: Implicit conversion from float 43.08954203691046 to int loses precision in /in/8Cog7 on line 63 reflection [class] took 22.54 ms | +331% | ...........................................
Output for 8.1.2
instanceof [object] took 5.08 ms | + 0% | .......... Deprecated: Implicit conversion from float 19.193548387096776 to int loses precision in /in/8Cog7 on line 63 is_a [object] took 9.76 ms | + 92% | ................... Deprecated: Implicit conversion from float 26.959396099024758 to int loses precision in /in/8Cog7 on line 63 is_a [class] took 13.71 ms | +170% | .......................... Deprecated: Implicit conversion from float 32.568454613653415 to int loses precision in /in/8Cog7 on line 63 class_implements [object] took 16.56 ms | +226% | ................................ Deprecated: Implicit conversion from float 42.60361965491373 to int loses precision in /in/8Cog7 on line 63 reflection [class] took 21.66 ms | +326% | ..........................................
Output for 8.1.1
instanceof [object] took 5.18 ms | + 0% | .......... Deprecated: Implicit conversion from float 19.759657442792026 to int loses precision in /in/8Cog7 on line 63 is_a [object] took 10.23 ms | + 98% | ................... Deprecated: Implicit conversion from float 26.051383581196184 to int loses precision in /in/8Cog7 on line 63 is_a [class] took 13.49 ms | +161% | .......................... Deprecated: Implicit conversion from float 34.47534416870022 to int loses precision in /in/8Cog7 on line 63 class_implements [object] took 17.85 ms | +245% | .................................. Deprecated: Implicit conversion from float 42.39697960311248 to int loses precision in /in/8Cog7 on line 63 reflection [class] took 21.95 ms | +324% | ..........................................
Output for 8.1.0
instanceof [object] took 5.13 ms | + 0% | .......... Deprecated: Implicit conversion from float 20.57418935241104 to int loses precision in /in/8Cog7 on line 63 is_a [object] took 10.56 ms | +106% | .................... Deprecated: Implicit conversion from float 27.94713369878287 to int loses precision in /in/8Cog7 on line 63 is_a [class] took 14.34 ms | +179% | ........................... Deprecated: Implicit conversion from float 35.5017188516213 to int loses precision in /in/8Cog7 on line 63 class_implements [object] took 18.22 ms | +255% | ................................... Deprecated: Implicit conversion from float 45.173743380098486 to int loses precision in /in/8Cog7 on line 63 reflection [class] took 23.18 ms | +352% | .............................................
Output for 8.0.22
instanceof [object] took 5.24 ms | + 0% | .......... is_a [object] took 9.95 ms | + 90% | .................. is_a [class] took 13.31 ms | +154% | ......................... class_implements [object] took 17.35 ms | +231% | ................................. reflection [class] took 21.73 ms | +315% | .........................................
Output for 8.0.21
instanceof [object] took 5.15 ms | + 0% | .......... is_a [object] took 9.20 ms | + 79% | ................. is_a [class] took 12.58 ms | +144% | ........................ class_implements [object] took 16.73 ms | +225% | ................................ reflection [class] took 22.37 ms | +334% | ...........................................
Output for 8.0.20
instanceof [object] took 4.82 ms | + 0% | .......... is_a [object] took 9.71 ms | +102% | .................... is_a [class] took 13.58 ms | +182% | ............................ class_implements [object] took 17.19 ms | +257% | ................................... reflection [class] took 22.80 ms | +373% | ...............................................
Output for 8.0.19
instanceof [object] took 5.18 ms | + 0% | .......... is_a [object] took 9.63 ms | + 86% | .................. is_a [class] took 13.60 ms | +162% | .......................... class_implements [object] took 16.65 ms | +221% | ................................ reflection [class] took 23.37 ms | +351% | .............................................
Output for 8.0.18
instanceof [object] took 4.83 ms | + 0% | .......... is_a [object] took 9.97 ms | +106% | .................... is_a [class] took 13.53 ms | +180% | ........................... class_implements [object] took 16.27 ms | +237% | ................................. reflection [class] took 23.47 ms | +386% | ................................................
Output for 8.0.17
instanceof [object] took 4.87 ms | + 0% | .......... is_a [object] took 9.91 ms | +103% | .................... is_a [class] took 14.03 ms | +188% | ............................ class_implements [object] took 17.07 ms | +250% | ................................... reflection [class] took 22.51 ms | +362% | ..............................................
Output for 8.0.16
instanceof [object] took 5.12 ms | + 0% | .......... is_a [object] took 9.63 ms | + 88% | .................. is_a [class] took 12.76 ms | +149% | ........................ class_implements [object] took 16.65 ms | +225% | ................................ reflection [class] took 22.41 ms | +338% | ...........................................
Output for 8.0.15
instanceof [object] took 5.08 ms | + 0% | .......... is_a [object] took 9.87 ms | + 94% | ................... is_a [class] took 13.53 ms | +166% | .......................... class_implements [object] took 16.92 ms | +233% | ................................. reflection [class] took 23.74 ms | +368% | ..............................................
Output for 8.0.14
instanceof [object] took 4.95 ms | + 0% | .......... is_a [object] took 10.26 ms | +107% | .................... is_a [class] took 13.60 ms | +175% | ........................... class_implements [object] took 17.36 ms | +251% | ................................... reflection [class] took 23.24 ms | +370% | ..............................................
Output for 8.0.13
instanceof [object] took 4.82 ms | + 0% | .......... is_a [object] took 9.89 ms | +105% | .................... is_a [class] took 13.26 ms | +175% | ........................... class_implements [object] took 16.50 ms | +242% | .................................. reflection [class] took 22.40 ms | +365% | ..............................................
Output for 8.0.12
instanceof [object] took 5.11 ms | + 0% | .......... is_a [object] took 10.08 ms | + 97% | ................... is_a [class] took 13.32 ms | +161% | .......................... class_implements [object] took 17.26 ms | +238% | ................................. reflection [class] took 22.70 ms | +344% | ............................................
Output for 8.0.11
instanceof [object] took 5.02 ms | + 0% | .......... is_a [object] took 11.55 ms | +130% | ....................... is_a [class] took 15.40 ms | +207% | .............................. class_implements [object] took 17.47 ms | +248% | .................................. reflection [class] took 22.69 ms | +352% | .............................................
Output for 8.0.10
instanceof [object] took 4.99 ms | + 0% | .......... is_a [object] took 9.85 ms | + 98% | ................... is_a [class] took 13.51 ms | +171% | ........................... class_implements [object] took 16.92 ms | +239% | ................................. reflection [class] took 22.64 ms | +354% | .............................................
Output for 8.0.9
instanceof [object] took 5.51 ms | + 0% | .......... is_a [object] took 11.00 ms | +100% | ................... is_a [class] took 14.67 ms | +166% | .......................... class_implements [object] took 17.17 ms | +212% | ............................... reflection [class] took 24.90 ms | +352% | .............................................
Output for 8.0.8
instanceof [object] took 5.89 ms | + 0% | .......... is_a [object] took 9.42 ms | + 60% | ............... is_a [class] took 12.20 ms | +107% | .................... class_implements [object] took 17.23 ms | +192% | ............................. reflection [class] took 22.53 ms | +282% | ......................................
Output for 8.0.7
instanceof [object] took 4.85 ms | + 0% | .......... is_a [object] took 10.21 ms | +111% | ..................... is_a [class] took 13.43 ms | +177% | ........................... class_implements [object] took 17.32 ms | +257% | ................................... reflection [class] took 22.98 ms | +374% | ...............................................
Output for 8.0.6
instanceof [object] took 4.90 ms | + 0% | .......... is_a [object] took 9.69 ms | + 98% | ................... is_a [class] took 12.77 ms | +161% | .......................... class_implements [object] took 16.64 ms | +240% | ................................. reflection [class] took 23.25 ms | +375% | ...............................................
Output for 8.0.5
instanceof [object] took 4.86 ms | + 0% | .......... is_a [object] took 9.45 ms | + 94% | ................... is_a [class] took 12.73 ms | +162% | .......................... class_implements [object] took 16.29 ms | +235% | ................................. reflection [class] took 23.17 ms | +376% | ...............................................
Output for 8.0.3
instanceof [object] took 5.25 ms | + 0% | .......... is_a [object] took 9.41 ms | + 79% | ................. is_a [class] took 12.73 ms | +143% | ........................ class_implements [object] took 17.03 ms | +225% | ................................ reflection [class] took 22.17 ms | +323% | ..........................................
Output for 8.0.2
instanceof [object] took 5.39 ms | + 0% | .......... is_a [object] took 10.79 ms | +100% | .................... is_a [class] took 13.74 ms | +155% | ......................... class_implements [object] took 17.45 ms | +223% | ................................ reflection [class] took 21.97 ms | +307% | ........................................
Output for 8.0.1
instanceof [object] took 4.95 ms | + 0% | .......... is_a [object] took 10.27 ms | +107% | .................... is_a [class] took 13.56 ms | +174% | ........................... class_implements [object] took 16.79 ms | +239% | ................................. reflection [class] took 23.10 ms | +367% | ..............................................
Output for 8.0.0
instanceof [object] took 5.22 ms | + 0% | .......... is_a [object] took 9.97 ms | + 91% | ................... is_a [class] took 13.05 ms | +150% | ........................ class_implements [object] took 16.39 ms | +214% | ............................... reflection [class] took 23.39 ms | +348% | ............................................
Output for 7.4.30
instanceof [object] took 5.86 ms | + 0% | .......... is_a [object] took 9.43 ms | + 61% | ................ is_a [class] took 12.33 ms | +110% | ..................... class_implements [object] took 16.88 ms | +188% | ............................ reflection [class] took 25.23 ms | +330% | ...........................................
Output for 7.4.29
instanceof [object] took 5.73 ms | + 0% | .......... is_a [object] took 9.87 ms | + 72% | ................. is_a [class] took 12.82 ms | +124% | ...................... class_implements [object] took 16.71 ms | +191% | ............................. reflection [class] took 24.65 ms | +330% | ..........................................
Output for 7.4.28
instanceof [object] took 5.89 ms | + 0% | .......... is_a [object] took 9.81 ms | + 66% | ................ is_a [class] took 12.82 ms | +117% | ..................... class_implements [object] took 17.14 ms | +191% | ............................. reflection [class] took 24.71 ms | +319% | .........................................
Output for 7.4.27
instanceof [object] took 5.96 ms | + 0% | .......... is_a [object] took 11.28 ms | + 89% | .................. is_a [class] took 14.06 ms | +136% | ....................... class_implements [object] took 17.94 ms | +201% | .............................. reflection [class] took 26.64 ms | +347% | ............................................
Output for 7.4.26
instanceof [object] took 6.11 ms | + 0% | .......... is_a [object] took 10.64 ms | + 74% | ................. is_a [class] took 12.40 ms | +103% | .................... class_implements [object] took 18.32 ms | +200% | ............................. reflection [class] took 26.03 ms | +326% | ..........................................
Output for 7.4.25
instanceof [object] took 5.92 ms | + 0% | .......... is_a [object] took 10.33 ms | + 74% | ................. is_a [class] took 13.36 ms | +126% | ...................... class_implements [object] took 17.45 ms | +195% | ............................. reflection [class] took 25.89 ms | +337% | ...........................................
Output for 7.4.24
instanceof [object] took 5.88 ms | + 0% | .......... is_a [object] took 9.93 ms | + 69% | ................ is_a [class] took 12.79 ms | +118% | ..................... class_implements [object] took 16.51 ms | +181% | ............................ reflection [class] took 25.32 ms | +331% | ...........................................
Output for 7.4.23
instanceof [object] took 5.57 ms | + 0% | .......... is_a [object] took 9.75 ms | + 75% | ................. is_a [class] took 12.61 ms | +126% | ...................... class_implements [object] took 16.08 ms | +189% | ............................ reflection [class] took 26.13 ms | +369% | ..............................................
Output for 7.4.22
instanceof [object] took 5.41 ms | + 0% | .......... is_a [object] took 9.46 ms | + 75% | ................. is_a [class] took 12.41 ms | +129% | ...................... class_implements [object] took 17.16 ms | +217% | ............................... reflection [class] took 25.64 ms | +374% | ...............................................
Output for 7.4.21
instanceof [object] took 5.71 ms | + 0% | .......... is_a [object] took 9.49 ms | + 66% | ................ is_a [class] took 12.29 ms | +115% | ..................... class_implements [object] took 17.23 ms | +202% | .............................. reflection [class] took 25.43 ms | +346% | ............................................
Output for 7.4.20
instanceof [object] took 5.30 ms | + 0% | .......... is_a [object] took 9.62 ms | + 82% | .................. is_a [class] took 12.36 ms | +133% | ....................... class_implements [object] took 16.25 ms | +207% | .............................. reflection [class] took 24.91 ms | +370% | ...............................................
Output for 7.4.19
instanceof [object] took 5.40 ms | + 0% | .......... is_a [object] took 9.47 ms | + 75% | ................. is_a [class] took 12.39 ms | +129% | ...................... class_implements [object] took 16.29 ms | +201% | .............................. reflection [class] took 25.25 ms | +367% | ..............................................
Output for 7.4.18
instanceof [object] took 5.34 ms | + 0% | .......... is_a [object] took 9.80 ms | + 84% | .................. is_a [class] took 12.43 ms | +133% | ....................... class_implements [object] took 16.44 ms | +208% | .............................. reflection [class] took 25.85 ms | +384% | ................................................
Output for 7.4.16
instanceof [object] took 5.90 ms | + 0% | .......... is_a [object] took 9.34 ms | + 58% | ............... is_a [class] took 12.10 ms | +105% | .................... class_implements [object] took 16.85 ms | +186% | ............................ reflection [class] took 25.53 ms | +333% | ...........................................
Output for 7.4.15
instanceof [object] took 5.86 ms | + 0% | .......... is_a [object] took 10.44 ms | + 78% | ................. is_a [class] took 13.18 ms | +125% | ...................... class_implements [object] took 16.86 ms | +188% | ............................ reflection [class] took 24.62 ms | +320% | .........................................
Output for 7.4.14
instanceof [object] took 5.49 ms | + 0% | .......... is_a [object] took 10.46 ms | + 91% | ................... is_a [class] took 13.56 ms | +147% | ........................ class_implements [object] took 17.22 ms | +214% | ............................... reflection [class] took 26.17 ms | +377% | ...............................................
Output for 7.4.13
instanceof [object] took 5.66 ms | + 0% | .......... is_a [object] took 9.99 ms | + 77% | ................. is_a [class] took 12.32 ms | +118% | ..................... class_implements [object] took 18.55 ms | +228% | ................................ reflection [class] took 24.54 ms | +334% | ...........................................
Output for 7.4.12
instanceof [object] took 5.84 ms | + 0% | .......... is_a [object] took 9.81 ms | + 68% | ................ is_a [class] took 11.96 ms | +105% | .................... class_implements [object] took 18.37 ms | +215% | ............................... reflection [class] took 25.36 ms | +335% | ...........................................
Output for 7.4.11
instanceof [object] took 5.52 ms | + 0% | .......... is_a [object] took 9.72 ms | + 76% | ................. is_a [class] took 12.66 ms | +129% | ...................... class_implements [object] took 16.79 ms | +204% | .............................. reflection [class] took 24.99 ms | +352% | .............................................
Output for 7.4.10
instanceof [object] took 5.61 ms | + 0% | .......... is_a [object] took 9.32 ms | + 66% | ................ is_a [class] took 12.06 ms | +115% | ..................... class_implements [object] took 19.70 ms | +251% | ................................... reflection [class] took 27.65 ms | +393% | .................................................
Output for 7.4.9
instanceof [object] took 5.49 ms | + 0% | .......... is_a [object] took 9.75 ms | + 78% | ................. is_a [class] took 12.12 ms | +121% | ...................... class_implements [object] took 17.12 ms | +212% | ............................... reflection [class] took 24.97 ms | +355% | .............................................
Output for 7.4.8
instanceof [object] took 5.45 ms | + 0% | .......... is_a [object] took 10.00 ms | + 84% | .................. is_a [class] took 12.86 ms | +136% | ....................... class_implements [object] took 16.43 ms | +202% | .............................. reflection [class] took 26.17 ms | +380% | ................................................
Output for 7.4.7
instanceof [object] took 5.60 ms | + 0% | .......... is_a [object] took 9.82 ms | + 76% | ................. is_a [class] took 12.13 ms | +117% | ..................... class_implements [object] took 18.72 ms | +235% | ................................. reflection [class] took 25.10 ms | +349% | ............................................
Output for 7.4.6
instanceof [object] took 5.49 ms | + 0% | .......... is_a [object] took 9.87 ms | + 80% | ................. is_a [class] took 12.48 ms | +127% | ...................... class_implements [object] took 17.03 ms | +210% | ............................... reflection [class] took 25.97 ms | +373% | ...............................................
Output for 7.4.5
instanceof [object] took 5.41 ms | + 0% | .......... is_a [object] took 9.57 ms | + 77% | ................. is_a [class] took 12.14 ms | +124% | ...................... class_implements [object] took 17.11 ms | +216% | ............................... reflection [class] took 25.59 ms | +373% | ...............................................
Output for 7.4.4
instanceof [object] took 5.84 ms | + 0% | .......... is_a [object] took 10.34 ms | + 77% | ................. is_a [class] took 13.28 ms | +127% | ...................... class_implements [object] took 17.46 ms | +199% | ............................. reflection [class] took 25.94 ms | +344% | ............................................
Output for 7.4.3
instanceof [object] took 6.05 ms | + 0% | .......... is_a [object] took 9.79 ms | + 62% | ................ is_a [class] took 12.66 ms | +109% | .................... class_implements [object] took 17.31 ms | +186% | ............................ reflection [class] took 26.97 ms | +346% | ............................................
Output for 7.4.2
instanceof [object] took 5.37 ms | + 0% | .......... is_a [object] took 10.00 ms | + 86% | .................. is_a [class] took 12.61 ms | +135% | ....................... class_implements [object] took 16.31 ms | +204% | .............................. reflection [class] took 24.71 ms | +360% | ..............................................
Output for 7.4.1
instanceof [object] took 5.19 ms | + 0% | .......... is_a [object] took 9.37 ms | + 81% | .................. is_a [class] took 12.05 ms | +132% | ....................... class_implements [object] took 16.29 ms | +214% | ............................... reflection [class] took 24.48 ms | +372% | ...............................................
Output for 7.4.0
instanceof [object] took 5.34 ms | + 0% | .......... is_a [object] took 9.49 ms | + 78% | ................. is_a [class] took 11.97 ms | +124% | ...................... class_implements [object] took 16.65 ms | +212% | ............................... reflection [class] took 25.01 ms | +368% | ..............................................
Output for 7.3.33
instanceof [object] took 5.98 ms | + 0% | .......... is_a [object] took 9.64 ms | + 61% | ................ is_a [class] took 11.56 ms | + 93% | ................... class_implements [object] took 15.67 ms | +162% | .......................... reflection [class] took 27.96 ms | +368% | ..............................................
Output for 7.3.32
instanceof [object] took 5.71 ms | + 0% | .......... is_a [object] took 9.73 ms | + 70% | ................. is_a [class] took 12.26 ms | +115% | ..................... class_implements [object] took 15.40 ms | +169% | .......................... reflection [class] took 28.70 ms | +402% | ..................................................
Output for 7.3.31
instanceof [object] took 5.70 ms | + 0% | .......... is_a [object] took 9.91 ms | + 74% | ................. is_a [class] took 12.43 ms | +118% | ..................... class_implements [object] took 15.50 ms | +172% | ........................... reflection [class] took 28.24 ms | +396% | .................................................
Output for 7.3.30
instanceof [object] took 5.71 ms | + 0% | .......... is_a [object] took 10.04 ms | + 76% | ................. is_a [class] took 11.94 ms | +109% | .................... class_implements [object] took 15.73 ms | +176% | ........................... reflection [class] took 27.12 ms | +375% | ...............................................
Output for 7.3.29
instanceof [object] took 5.71 ms | + 0% | .......... is_a [object] took 9.63 ms | + 69% | ................ is_a [class] took 12.26 ms | +114% | ..................... class_implements [object] took 15.92 ms | +179% | ........................... reflection [class] took 26.84 ms | +370% | ..............................................
Output for 7.3.28
instanceof [object] took 6.15 ms | + 0% | .......... is_a [object] took 9.99 ms | + 63% | ................ is_a [class] took 12.71 ms | +107% | .................... class_implements [object] took 14.79 ms | +141% | ........................ reflection [class] took 28.19 ms | +359% | .............................................
Output for 7.3.27
instanceof [object] took 5.75 ms | + 0% | .......... is_a [object] took 11.35 ms | + 97% | ................... is_a [class] took 13.55 ms | +136% | ....................... class_implements [object] took 15.57 ms | +171% | ........................... reflection [class] took 28.62 ms | +398% | .................................................
Output for 7.3.26
instanceof [object] took 5.76 ms | + 0% | .......... is_a [object] took 9.99 ms | + 74% | ................. is_a [class] took 12.24 ms | +113% | ..................... class_implements [object] took 16.56 ms | +188% | ............................ reflection [class] took 28.27 ms | +391% | .................................................
Output for 7.3.25
instanceof [object] took 6.71 ms | + 0% | .......... is_a [object] took 11.09 ms | + 65% | ................ is_a [class] took 13.45 ms | +100% | .................... class_implements [object] took 16.99 ms | +153% | ......................... reflection [class] took 28.25 ms | +321% | ..........................................
Output for 7.3.24
instanceof [object] took 5.82 ms | + 0% | .......... is_a [object] took 9.74 ms | + 67% | ................ is_a [class] took 12.83 ms | +120% | ...................... class_implements [object] took 15.85 ms | +172% | ........................... reflection [class] took 28.36 ms | +387% | ................................................
Output for 7.3.23
instanceof [object] took 5.34 ms | + 0% | .......... is_a [object] took 10.01 ms | + 88% | .................. is_a [class] took 13.06 ms | +145% | ........................ class_implements [object] took 15.37 ms | +188% | ............................ reflection [class] took 29.07 ms | +445% | ......................................................
Output for 7.3.22
instanceof [object] took 6.03 ms | + 0% | .......... is_a [object] took 9.98 ms | + 66% | ................ is_a [class] took 12.21 ms | +103% | .................... class_implements [object] took 17.01 ms | +182% | ............................ reflection [class] took 29.72 ms | +393% | .................................................
Output for 7.3.21
instanceof [object] took 5.57 ms | + 0% | .......... is_a [object] took 10.02 ms | + 80% | ................. is_a [class] took 12.62 ms | +127% | ...................... class_implements [object] took 16.62 ms | +198% | ............................. reflection [class] took 28.59 ms | +413% | ...................................................
Output for 7.3.20
instanceof [object] took 6.00 ms | + 0% | .......... is_a [object] took 9.44 ms | + 57% | ............... is_a [class] took 12.67 ms | +111% | ..................... class_implements [object] took 15.51 ms | +158% | ......................... reflection [class] took 27.76 ms | +362% | ..............................................
Output for 7.3.19
instanceof [object] took 5.76 ms | + 0% | .......... is_a [object] took 10.15 ms | + 76% | ................. is_a [class] took 13.20 ms | +129% | ...................... class_implements [object] took 16.42 ms | +185% | ............................ reflection [class] took 27.79 ms | +382% | ................................................
Output for 7.3.18
instanceof [object] took 5.90 ms | + 0% | .......... is_a [object] took 10.27 ms | + 74% | ................. is_a [class] took 13.34 ms | +126% | ...................... class_implements [object] took 16.48 ms | +180% | ........................... reflection [class] took 28.05 ms | +376% | ...............................................
Output for 7.3.17
instanceof [object] took 5.61 ms | + 0% | .......... is_a [object] took 9.30 ms | + 66% | ................ is_a [class] took 11.99 ms | +114% | ..................... class_implements [object] took 16.32 ms | +191% | ............................. reflection [class] took 26.72 ms | +376% | ...............................................
Output for 7.3.16
instanceof [object] took 6.08 ms | + 0% | .......... is_a [object] took 10.07 ms | + 66% | ................ is_a [class] took 13.05 ms | +115% | ..................... class_implements [object] took 15.86 ms | +161% | .......................... reflection [class] took 29.51 ms | +385% | ................................................
Output for 7.3.15
instanceof [object] took 5.57 ms | + 0% | .......... is_a [object] took 9.52 ms | + 71% | ................. is_a [class] took 12.93 ms | +132% | ....................... class_implements [object] took 16.08 ms | +189% | ............................ reflection [class] took 27.47 ms | +393% | .................................................
Output for 7.3.14
instanceof [object] took 5.25 ms | + 0% | .......... is_a [object] took 9.45 ms | + 80% | .................. is_a [class] took 12.61 ms | +140% | ........................ class_implements [object] took 15.25 ms | +191% | ............................. reflection [class] took 27.52 ms | +425% | ....................................................
Output for 7.3.13
instanceof [object] took 5.59 ms | + 0% | .......... is_a [object] took 10.56 ms | + 89% | .................. is_a [class] took 13.70 ms | +145% | ........................ class_implements [object] took 16.31 ms | +192% | ............................. reflection [class] took 29.90 ms | +435% | .....................................................
Output for 7.3.12
instanceof [object] took 5.51 ms | + 0% | .......... is_a [object] took 9.85 ms | + 79% | ................. is_a [class] took 12.40 ms | +125% | ...................... class_implements [object] took 15.87 ms | +188% | ............................ reflection [class] took 29.71 ms | +440% | .....................................................
Output for 7.3.11
instanceof [object] took 6.10 ms | + 0% | .......... is_a [object] took 10.30 ms | + 69% | ................ is_a [class] took 12.42 ms | +104% | .................... class_implements [object] took 16.40 ms | +169% | .......................... reflection [class] took 27.45 ms | +350% | ............................................
Output for 7.3.10
instanceof [object] took 5.99 ms | + 0% | .......... is_a [object] took 10.31 ms | + 72% | ................. is_a [class] took 12.65 ms | +111% | ..................... class_implements [object] took 16.55 ms | +176% | ........................... reflection [class] took 27.89 ms | +365% | ..............................................
Output for 7.3.9
instanceof [object] took 5.54 ms | + 0% | .......... is_a [object] took 9.29 ms | + 68% | ................ is_a [class] took 12.30 ms | +122% | ...................... class_implements [object] took 16.17 ms | +192% | ............................. reflection [class] took 27.17 ms | +390% | .................................................
Output for 7.3.8
instanceof [object] took 5.57 ms | + 0% | .......... is_a [object] took 9.92 ms | + 78% | ................. is_a [class] took 12.63 ms | +127% | ...................... class_implements [object] took 16.02 ms | +188% | ............................ reflection [class] took 28.20 ms | +406% | ..................................................
Output for 7.3.7
instanceof [object] took 5.93 ms | + 0% | .......... is_a [object] took 10.65 ms | + 79% | ................. is_a [class] took 13.56 ms | +128% | ...................... class_implements [object] took 17.05 ms | +187% | ............................ reflection [class] took 30.37 ms | +412% | ...................................................
Output for 7.3.6
instanceof [object] took 5.92 ms | + 0% | .......... is_a [object] took 10.24 ms | + 73% | ................. is_a [class] took 13.05 ms | +120% | ...................... class_implements [object] took 16.73 ms | +183% | ............................ reflection [class] took 27.25 ms | +360% | ..............................................
Output for 7.3.5
instanceof [object] took 5.96 ms | + 0% | .......... is_a [object] took 10.44 ms | + 75% | ................. is_a [class] took 13.61 ms | +128% | ...................... class_implements [object] took 16.00 ms | +168% | .......................... reflection [class] took 27.65 ms | +364% | ..............................................
Output for 7.3.4
instanceof [object] took 6.13 ms | + 0% | .......... is_a [object] took 10.37 ms | + 69% | ................ is_a [class] took 13.52 ms | +120% | ...................... class_implements [object] took 16.12 ms | +163% | .......................... reflection [class] took 28.83 ms | +370% | ...............................................
Output for 7.3.3
instanceof [object] took 5.58 ms | + 0% | .......... is_a [object] took 9.91 ms | + 78% | ................. is_a [class] took 12.13 ms | +118% | ..................... class_implements [object] took 16.94 ms | +204% | .............................. reflection [class] took 28.08 ms | +403% | ..................................................
Output for 7.3.2
instanceof [object] took 5.47 ms | + 0% | .......... is_a [object] took 9.44 ms | + 72% | ................. is_a [class] took 12.10 ms | +121% | ...................... class_implements [object] took 16.06 ms | +194% | ............................. reflection [class] took 28.95 ms | +429% | ....................................................
Output for 7.3.1
instanceof [object] took 5.78 ms | + 0% | .......... is_a [object] took 9.53 ms | + 65% | ................ is_a [class] took 11.88 ms | +106% | .................... class_implements [object] took 15.82 ms | +174% | ........................... reflection [class] took 28.61 ms | +395% | .................................................
Output for 7.3.0
instanceof [object] took 6.07 ms | + 0% | .......... is_a [object] took 10.48 ms | + 73% | ................. is_a [class] took 12.97 ms | +114% | ..................... class_implements [object] took 16.50 ms | +172% | ........................... reflection [class] took 28.26 ms | +365% | ..............................................
Output for 7.2.34
instanceof [object] took 6.48 ms | + 0% | .......... is_a [object] took 10.29 ms | + 59% | ............... is_a [class] took 13.08 ms | +102% | .................... class_implements [object] took 17.10 ms | +164% | .......................... reflection [class] took 31.98 ms | +393% | .................................................
Output for 7.2.33
instanceof [object] took 6.66 ms | + 0% | .......... is_a [object] took 10.13 ms | + 52% | ............... is_a [class] took 12.56 ms | + 88% | .................. class_implements [object] took 17.61 ms | +164% | .......................... reflection [class] took 32.38 ms | +386% | ................................................
Output for 7.2.32
instanceof [object] took 6.16 ms | + 0% | .......... is_a [object] took 10.31 ms | + 67% | ................ is_a [class] took 13.08 ms | +112% | ..................... class_implements [object] took 17.87 ms | +190% | ............................. reflection [class] took 33.32 ms | +441% | ......................................................
Output for 7.2.31
instanceof [object] took 5.92 ms | + 0% | .......... is_a [object] took 10.00 ms | + 69% | ................ is_a [class] took 12.99 ms | +120% | ..................... class_implements [object] took 18.52 ms | +213% | ............................... reflection [class] took 34.18 ms | +477% | .........................................................
Output for 7.2.30
instanceof [object] took 5.99 ms | + 0% | .......... is_a [object] took 10.23 ms | + 71% | ................. is_a [class] took 13.03 ms | +118% | ..................... class_implements [object] took 19.11 ms | +219% | ............................... reflection [class] took 34.65 ms | +479% | .........................................................
Output for 7.2.29
instanceof [object] took 7.60 ms | + 0% | .......... is_a [object] took 10.38 ms | + 37% | ............. is_a [class] took 12.77 ms | + 68% | ................ class_implements [object] took 20.90 ms | +175% | ........................... reflection [class] took 31.60 ms | +316% | .........................................
Output for 7.2.28
instanceof [object] took 5.69 ms | + 0% | .......... is_a [object] took 10.46 ms | + 84% | .................. is_a [class] took 13.27 ms | +133% | ....................... class_implements [object] took 16.51 ms | +190% | ............................. reflection [class] took 32.17 ms | +465% | ........................................................
Output for 7.2.27
instanceof [object] took 5.87 ms | + 0% | .......... is_a [object] took 9.94 ms | + 69% | ................ is_a [class] took 12.71 ms | +116% | ..................... class_implements [object] took 17.80 ms | +203% | .............................. reflection [class] took 32.81 ms | +459% | .......................................................
Output for 7.2.26
instanceof [object] took 6.01 ms | + 0% | .......... is_a [object] took 10.31 ms | + 72% | ................. is_a [class] took 12.79 ms | +113% | ..................... class_implements [object] took 18.12 ms | +202% | .............................. reflection [class] took 32.25 ms | +437% | .....................................................
Output for 7.2.25
instanceof [object] took 5.76 ms | + 0% | .......... is_a [object] took 10.39 ms | + 80% | .................. is_a [class] took 13.02 ms | +126% | ...................... class_implements [object] took 17.43 ms | +203% | .............................. reflection [class] took 34.32 ms | +496% | ...........................................................
Output for 7.2.24
instanceof [object] took 6.26 ms | + 0% | .......... is_a [object] took 9.56 ms | + 53% | ............... is_a [class] took 13.49 ms | +115% | ..................... class_implements [object] took 16.61 ms | +165% | .......................... reflection [class] took 33.72 ms | +438% | .....................................................
Output for 7.2.23
instanceof [object] took 6.06 ms | + 0% | .......... is_a [object] took 10.18 ms | + 68% | ................ is_a [class] took 13.43 ms | +122% | ...................... class_implements [object] took 17.47 ms | +188% | ............................ reflection [class] took 33.03 ms | +445% | ......................................................
Output for 7.2.22
instanceof [object] took 6.19 ms | + 0% | .......... is_a [object] took 10.12 ms | + 64% | ................ is_a [class] took 13.30 ms | +115% | ..................... class_implements [object] took 16.97 ms | +174% | ........................... reflection [class] took 33.91 ms | +448% | ......................................................
Output for 7.2.21
instanceof [object] took 5.56 ms | + 0% | .......... is_a [object] took 10.63 ms | + 91% | ................... is_a [class] took 12.09 ms | +117% | ..................... class_implements [object] took 17.86 ms | +221% | ................................ reflection [class] took 32.19 ms | +479% | .........................................................
Output for 7.2.20
instanceof [object] took 5.74 ms | + 0% | .......... is_a [object] took 9.89 ms | + 72% | ................. is_a [class] took 12.43 ms | +116% | ..................... class_implements [object] took 17.19 ms | +199% | ............................. reflection [class] took 32.48 ms | +466% | ........................................................
Output for 7.2.19
instanceof [object] took 5.60 ms | + 0% | .......... is_a [object] took 10.48 ms | + 87% | .................. is_a [class] took 12.76 ms | +128% | ...................... class_implements [object] took 17.40 ms | +211% | ............................... reflection [class] took 31.31 ms | +459% | .......................................................
Output for 7.2.18
instanceof [object] took 5.88 ms | + 0% | .......... is_a [object] took 10.46 ms | + 78% | ................. is_a [class] took 13.28 ms | +126% | ...................... class_implements [object] took 17.41 ms | +196% | ............................. reflection [class] took 33.08 ms | +463% | ........................................................
Output for 7.2.17
instanceof [object] took 5.68 ms | + 0% | .......... is_a [object] took 10.16 ms | + 79% | ................. is_a [class] took 12.56 ms | +121% | ...................... class_implements [object] took 17.17 ms | +202% | .............................. reflection [class] took 34.76 ms | +512% | .............................................................
Output for 7.2.16
instanceof [object] took 6.01 ms | + 0% | .......... is_a [object] took 10.04 ms | + 67% | ................ is_a [class] took 12.96 ms | +116% | ..................... class_implements [object] took 18.08 ms | +201% | .............................. reflection [class] took 31.81 ms | +429% | ....................................................
Output for 7.2.15
instanceof [object] took 5.75 ms | + 0% | .......... is_a [object] took 10.32 ms | + 79% | ................. is_a [class] took 13.23 ms | +130% | ....................... class_implements [object] took 17.79 ms | +209% | .............................. reflection [class] took 33.73 ms | +487% | ..........................................................
Output for 7.2.14
instanceof [object] took 6.06 ms | + 0% | .......... is_a [object] took 10.29 ms | + 70% | ................ is_a [class] took 13.31 ms | +120% | ..................... class_implements [object] took 18.01 ms | +197% | ............................. reflection [class] took 34.49 ms | +469% | ........................................................
Output for 7.2.13
instanceof [object] took 5.98 ms | + 0% | .......... is_a [object] took 10.45 ms | + 75% | ................. is_a [class] took 14.83 ms | +148% | ........................ class_implements [object] took 18.61 ms | +211% | ............................... reflection [class] took 32.66 ms | +446% | ......................................................
Output for 7.2.12
instanceof [object] took 6.12 ms | + 0% | .......... is_a [object] took 10.52 ms | + 72% | ................. is_a [class] took 13.41 ms | +119% | ..................... class_implements [object] took 17.24 ms | +182% | ............................ reflection [class] took 33.02 ms | +440% | .....................................................
Output for 7.2.11
instanceof [object] took 5.97 ms | + 0% | .......... is_a [object] took 10.00 ms | + 67% | ................ is_a [class] took 12.32 ms | +106% | .................... class_implements [object] took 16.79 ms | +181% | ............................ reflection [class] took 32.58 ms | +446% | ......................................................
Output for 7.2.10
instanceof [object] took 5.72 ms | + 0% | .......... is_a [object] took 10.47 ms | + 83% | .................. is_a [class] took 13.13 ms | +129% | ...................... class_implements [object] took 17.20 ms | +201% | .............................. reflection [class] took 31.35 ms | +448% | ......................................................
Output for 7.2.9
instanceof [object] took 5.73 ms | + 0% | .......... is_a [object] took 9.93 ms | + 73% | ................. is_a [class] took 12.37 ms | +116% | ..................... class_implements [object] took 17.64 ms | +208% | .............................. reflection [class] took 33.81 ms | +490% | ...........................................................
Output for 7.2.8
instanceof [object] took 5.85 ms | + 0% | .......... is_a [object] took 10.08 ms | + 72% | ................. is_a [class] took 12.05 ms | +106% | .................... class_implements [object] took 17.01 ms | +191% | ............................. reflection [class] took 33.90 ms | +480% | .........................................................
Output for 7.2.7
instanceof [object] took 5.65 ms | + 0% | .......... is_a [object] took 9.79 ms | + 73% | ................. is_a [class] took 12.74 ms | +126% | ...................... class_implements [object] took 17.22 ms | +205% | .............................. reflection [class] took 33.68 ms | +496% | ...........................................................
Output for 7.2.6
instanceof [object] took 6.17 ms | + 0% | .......... is_a [object] took 10.02 ms | + 63% | ................ is_a [class] took 12.68 ms | +106% | .................... class_implements [object] took 17.43 ms | +183% | ............................ reflection [class] took 32.40 ms | +425% | ....................................................
Output for 7.2.5
instanceof [object] took 6.18 ms | + 0% | .......... is_a [object] took 10.44 ms | + 69% | ................ is_a [class] took 13.55 ms | +119% | ..................... class_implements [object] took 18.55 ms | +200% | .............................. reflection [class] took 34.02 ms | +450% | .......................................................
Output for 7.2.4
instanceof [object] took 5.83 ms | + 0% | .......... is_a [object] took 9.88 ms | + 70% | ................ is_a [class] took 12.83 ms | +120% | ...................... class_implements [object] took 17.46 ms | +200% | ............................. reflection [class] took 32.36 ms | +455% | .......................................................
Output for 7.2.3
instanceof [object] took 5.97 ms | + 0% | .......... is_a [object] took 10.16 ms | + 70% | ................. is_a [class] took 12.40 ms | +108% | .................... class_implements [object] took 17.40 ms | +192% | ............................. reflection [class] took 31.79 ms | +433% | .....................................................
Output for 7.2.2
instanceof [object] took 6.27 ms | + 0% | .......... is_a [object] took 9.93 ms | + 58% | ............... is_a [class] took 12.22 ms | + 95% | ................... class_implements [object] took 17.96 ms | +186% | ............................ reflection [class] took 31.75 ms | +406% | ..................................................
Output for 7.2.1
instanceof [object] took 6.12 ms | + 0% | .......... is_a [object] took 10.74 ms | + 76% | ................. is_a [class] took 13.06 ms | +114% | ..................... class_implements [object] took 17.09 ms | +179% | ........................... reflection [class] took 31.84 ms | +421% | ....................................................
Output for 7.2.0
instanceof [object] took 6.38 ms | + 0% | .......... is_a [object] took 10.05 ms | + 58% | ............... is_a [class] took 13.18 ms | +107% | .................... class_implements [object] took 16.96 ms | +166% | .......................... reflection [class] took 31.79 ms | +399% | .................................................

preferences:
60.5 ms | 657 KiB | 5 Q