3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Piwik\Plugins\Test; class Xyz extends \ArrayObject { public function tester() { } public function hasImplementedEvent($method) { $method = new \ReflectionMethod($this, $method); $declaringClass = $method->getDeclaringClass(); var_dump($declaringClass->name); return 0 === strpos($declaringClass->name, 'Piwik\Plugins'); }}$x = new Xyz(array());$y = $x->hasImplementedEvent('tester1');var_dump($y);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0110.00416.50
8.3.50.0120.00322.99
8.3.40.0100.00318.79
8.3.30.0030.01019.14
8.3.20.0070.00020.30
8.3.10.0080.00023.61
8.3.00.0040.00417.50
8.2.180.0160.00716.88
8.2.170.0110.00322.96
8.2.160.0070.00720.52
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0070.01026.16
8.2.120.0070.00020.85
8.2.110.0090.00019.30
8.2.100.0040.00717.72
8.2.90.0000.00719.23
8.2.80.0050.00317.97
8.2.70.0000.00817.50
8.2.60.0040.00417.93
8.2.50.0090.00018.07
8.2.40.0040.00418.16
8.2.30.0000.00718.05
8.2.20.0000.00717.57
8.2.10.0070.00017.87
8.2.00.0000.00817.59
8.1.280.0170.00325.92
8.1.270.0030.00524.04
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0040.00422.46
8.1.230.0000.01120.78
8.1.220.0030.00718.77
8.1.210.0060.00318.98
8.1.200.0030.00617.25
8.1.190.0030.00617.23
8.1.180.0020.00518.10
8.1.170.0060.00318.59
8.1.160.0040.00421.96
8.1.150.0040.00418.75
8.1.140.0000.00717.46
8.1.130.0050.00317.82
8.1.120.0070.00017.43
8.1.110.0040.00417.39
8.1.100.0000.00817.42
8.1.90.0000.00717.43
8.1.80.0000.00717.42
8.1.70.0050.00317.25
8.1.60.0080.00017.61
8.1.50.0080.00017.52
8.1.40.0050.00317.51
8.1.30.0000.00817.56
8.1.20.0040.00417.63
8.1.10.0030.00617.61
8.1.00.0050.00217.54
8.0.300.0000.00819.88
8.0.290.0040.00416.63
8.0.280.0000.00718.38
8.0.270.0070.00017.24
8.0.260.0000.00617.27
8.0.250.0030.00316.97
8.0.240.0080.00016.93
8.0.230.0000.00916.96
8.0.220.0000.00716.91
8.0.210.0040.00416.77
8.0.200.0060.00016.88
8.0.190.0050.00316.84
8.0.180.0070.00016.98
8.0.170.0020.00516.93
8.0.160.0030.00516.78
8.0.150.0000.00816.68
8.0.140.0000.00816.77
8.0.130.0030.00613.40
8.0.120.0000.00816.80
8.0.110.0030.00316.82
8.0.100.0030.00516.84
8.0.90.0050.00216.82
8.0.80.0030.01316.89
8.0.70.0000.00816.99
8.0.60.0050.00316.97
8.0.50.0070.00016.86
8.0.30.0090.01017.19
8.0.20.0120.00817.41
8.0.10.0070.00016.88
8.0.00.0120.00516.60
7.4.330.0050.00015.04
7.4.320.0030.00316.46
7.4.300.0000.00616.46
7.4.290.0030.00316.52
7.4.280.0040.00416.45
7.4.270.0030.00316.54
7.4.260.0000.01016.60
7.4.250.0050.00216.47
7.4.240.0030.00316.55
7.4.230.0070.00016.43
7.4.220.0120.01216.66
7.4.210.0030.01016.65
7.4.200.0070.00016.63
7.4.160.0120.00316.52
7.4.150.0130.01017.40
7.4.140.0090.01417.86
7.4.130.0090.00716.49
7.4.120.0110.01016.46
7.4.110.0000.01716.50
7.4.100.0080.00916.53
7.4.90.0140.00416.67
7.4.80.0160.00019.39
7.4.70.0150.00616.46
7.4.60.0110.00716.50
7.4.50.0090.00016.50
7.4.40.0160.00616.46
7.4.30.0100.00616.48
7.4.00.0030.01215.00
7.3.330.0030.00313.21
7.3.320.0000.00513.38
7.3.310.0090.00016.28
7.3.300.0040.00416.36
7.3.290.0060.01016.34
7.3.280.0030.01316.42
7.3.270.0140.00717.40
7.3.260.0000.01716.45
7.3.250.0120.00516.33
7.3.240.0070.01016.27
7.3.230.0070.01016.39
7.3.210.0070.01016.43
7.3.200.0090.00919.39
7.3.190.0120.00916.52
7.3.180.0110.00416.39
7.3.170.0030.01316.45
7.3.160.0120.00616.35
7.3.10.0030.01016.54
7.3.00.0090.00316.64
7.2.330.0120.00916.57
7.2.320.0070.01016.73
7.2.310.0090.01116.30
7.2.300.0030.01316.63
7.2.290.0070.01016.36
7.2.130.0100.00316.77
7.2.120.0060.00916.91
7.2.110.0090.00616.77
7.2.100.0070.00716.91
7.2.90.0040.00417.00
7.2.80.0060.00617.00
7.2.70.0120.00316.98
7.2.60.0060.00616.72
7.2.50.0030.01016.97
7.2.40.0030.00616.87
7.2.30.0070.00716.86
7.2.20.0060.01017.00
7.2.10.0030.00616.98
7.2.00.0070.00618.03
7.1.250.0030.01015.79
7.1.200.0000.01415.72
7.1.100.0080.00418.30
7.1.70.0030.00516.99
7.1.60.0090.01519.40
7.1.50.0040.01816.87
7.1.00.0030.07722.28
7.0.200.0000.00716.73
7.0.140.0100.06722.10
7.0.60.0070.05719.93
7.0.50.0070.05717.88
7.0.40.0070.08320.09
7.0.30.0330.07320.23
7.0.20.0230.04720.06
7.0.10.0200.07720.23
7.0.00.0130.08720.07
5.6.280.0000.07721.14
5.6.210.0070.03720.49
5.6.200.0000.08318.16
5.6.190.0100.04020.33
5.6.180.0330.06720.79
5.6.170.0270.06720.46
5.6.160.0030.04320.70
5.6.150.0070.03718.11
5.6.140.0000.08718.28
5.6.130.0130.08018.19
5.6.120.0100.08020.91
5.6.110.0070.07721.14
5.6.100.0130.07321.14
5.6.90.0000.05720.97
5.6.80.0030.08320.42
5.5.350.4270.03320.36
5.5.340.0030.08717.97
5.5.330.0100.08020.33
5.5.320.2970.04320.29
5.5.310.0370.05320.23
5.5.300.0130.08018.06
5.5.290.0130.06317.97
5.5.280.0170.07320.75
5.5.270.0270.06320.81
5.5.260.0100.08320.80
5.5.250.0130.06720.50
5.5.240.0070.07320.35
5.4.450.0330.04019.42
5.4.440.0500.04319.31
5.4.430.0570.03019.54
5.4.420.0600.03719.54
5.4.410.0700.04319.28
5.4.400.0170.03319.22
5.4.390.0800.02719.00
5.4.380.0730.05718.54
5.4.370.0630.05018.72
5.4.360.0670.05018.59
5.4.350.0630.05718.72
5.4.340.0970.04718.59
5.4.320.0040.04012.52
5.4.310.0080.03712.51
5.4.300.0070.03512.52
5.4.290.0050.03812.51
5.4.280.0080.03312.40
5.4.270.0090.03412.40
5.4.260.0050.03912.41
5.4.250.0050.03912.40
5.4.240.0050.03612.41
5.4.230.0050.03812.40
5.4.220.0060.04112.39
5.4.210.0060.03612.40
5.4.200.0040.04112.40
5.4.190.0090.03412.40
5.4.180.0030.03912.39
5.4.170.0090.03412.41
5.4.160.0090.04412.40
5.4.150.0080.03512.40
5.4.140.0050.04212.08
5.4.130.0070.03512.07
5.4.120.0080.03312.03
5.4.110.0080.03712.02
5.4.100.0060.03512.02
5.4.90.0040.03812.02
5.4.80.0070.03512.03
5.4.70.0050.03512.02
5.4.60.0070.03412.02
5.4.50.0050.03712.02
5.4.40.0080.04712.01
5.4.30.0050.03712.00
5.4.20.0020.03912.00
5.4.10.0040.03712.00
5.4.00.0080.03711.50
5.3.290.0080.04212.80
5.3.280.0090.04812.70
5.3.270.0060.04112.72
5.3.260.0050.04012.72
5.3.250.0030.04012.72
5.3.240.0090.03612.72
5.3.230.0050.04112.71
5.3.220.0080.04612.68
5.3.210.0080.04012.68
5.3.200.0110.03112.68
5.3.190.0060.03712.68
5.3.180.0050.04012.68
5.3.170.0050.04012.67
5.3.160.0110.04112.67
5.3.150.0060.04412.68
5.3.140.0100.04312.66
5.3.130.0040.04612.66
5.3.120.0090.04812.66
5.3.110.0060.05512.66
5.3.100.0100.04812.14
5.3.90.0060.04112.13
5.3.80.0100.04612.12
5.3.70.0080.03512.12
5.3.60.0070.03612.11
5.3.50.0040.03812.05
5.3.40.0090.04512.05
5.3.30.0100.04812.01
5.3.20.0090.04311.79
5.3.10.0060.03811.75
5.3.00.0090.04911.75
5.2.170.0050.0309.18
5.2.160.0060.0409.18
5.2.150.0050.0299.18
5.2.140.0040.0309.18
5.2.130.0040.0339.14
5.2.120.0060.0269.14
5.2.110.0060.0299.14
5.2.100.0070.0269.14
5.2.90.0030.0319.14
5.2.80.0060.0429.14
5.2.70.0080.0309.14
5.2.60.0050.0309.09
5.2.50.0030.0329.06
5.2.40.0060.0289.03
5.2.30.0080.0279.02
5.2.20.0060.0279.00
5.2.10.0030.0318.92
5.2.00.0040.0318.79
5.1.60.0050.0238.07
5.1.50.0090.0278.06
5.1.40.0040.0288.05
5.1.30.0050.0298.40
5.1.20.0040.0288.42
5.1.10.0060.0338.14
5.1.00.0100.0258.14
5.0.50.0020.0226.62
5.0.40.0020.0226.47
5.0.30.0050.0306.29
5.0.20.0050.0196.26
5.0.10.0050.0186.24
5.0.00.0030.0306.23
4.4.90.0020.0164.78
4.4.80.0050.0134.75
4.4.70.0060.0124.76
4.4.60.0030.0154.75
4.4.50.0020.0164.77
4.4.40.0020.0264.71
4.4.30.0050.0164.75
4.4.20.0030.0164.85
4.4.10.0020.0174.85
4.4.00.0040.0244.76
4.3.110.0040.0164.67
4.3.100.0010.0174.66
4.3.90.0040.0134.63
4.3.80.0020.0274.59
4.3.70.0030.0144.63
4.3.60.0030.0144.63
4.3.50.0020.0164.63
4.3.40.0040.0274.54
4.3.30.0020.0173.28
4.3.20.0030.0153.26
4.3.10.0020.0153.22
4.3.00.0300.01015.95

preferences:
48.36 ms | 401 KiB | 5 Q