3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = new class {}; $ref = new ReflectionClass($foo); var_dump($ref->getFilename()); $foo = eval('new class {};'); $ref = new ReflectionClass($foo); var_dump($ref->getFilename());

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.40.0120.00618.67
8.3.30.0060.00918.77
8.3.20.0070.00020.38
8.3.10.0080.00023.49
8.3.00.0080.00021.85
8.2.170.0140.00722.96
8.2.160.0090.00620.50
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0080.00020.47
8.2.120.0060.00326.35
8.2.110.0030.00721.11
8.2.100.0030.01018.03
8.2.90.0040.00419.21
8.2.80.0050.00517.97
8.2.70.0060.00317.75
8.2.60.0000.00819.70
8.2.50.0160.00318.09
8.2.40.0080.00020.42
8.2.30.0030.00319.45
8.2.20.0030.00517.68
8.2.10.0000.00717.91
8.2.00.0000.00718.12
8.1.270.0060.00323.99
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0070.00322.52
8.1.230.0110.00017.70
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0000.00917.48
8.1.190.0080.00017.35
8.1.180.0040.00418.10
8.1.170.0090.00018.46
8.1.160.0060.00320.69
8.1.150.0030.00518.93
8.1.140.0040.00419.58
8.1.130.0070.00017.61
8.1.120.0000.00717.49
8.1.110.0060.00317.38
8.1.100.0080.00017.41
8.1.90.0040.00417.43
8.1.80.0000.01017.32
8.1.70.0040.00417.45
8.1.60.0000.00817.55
8.1.50.0030.00617.54
8.1.40.0030.00517.48
8.1.30.0000.00917.56
8.1.20.0090.00017.67
8.1.10.0000.00717.50
8.1.00.0040.00417.40
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0070.00018.45
8.0.270.0040.00417.27
8.0.260.0040.00417.30
8.0.250.0030.00316.95
8.0.240.0060.00016.99
8.0.230.0030.00316.97
8.0.220.0030.00716.84
8.0.210.0000.00716.95
8.0.200.0000.00717.08
8.0.190.0000.00816.93
8.0.180.0070.00017.02
8.0.170.0050.00316.85
8.0.160.0000.00717.04
8.0.150.0070.00016.94
8.0.140.0080.00016.95
8.0.130.0050.00013.41
8.0.120.0040.00416.82
8.0.110.0000.00816.89
8.0.100.0040.00417.00
8.0.90.0080.00016.81
8.0.80.0100.00616.91
8.0.70.0040.00416.82
8.0.60.0000.00816.99
8.0.50.0040.00417.00
8.0.30.0080.00916.98
8.0.20.0120.00617.40
8.0.10.0040.00417.08
8.0.00.0120.00816.77
7.4.330.0000.00516.66
7.4.320.0030.00316.50
7.4.300.0000.00716.50
7.4.290.0030.00316.51
7.4.280.0040.00416.43
7.4.270.0030.00316.61
7.4.260.0000.00716.58
7.4.250.0040.00416.52
7.4.240.0000.00716.60
7.4.230.0030.00516.30
7.4.220.0030.01616.54
7.4.210.0080.00816.65
7.4.200.0000.00716.63
7.4.160.0100.00716.54
7.4.150.0080.00817.40
7.4.140.0150.00717.86
7.4.130.0050.01516.62
7.4.120.0120.01016.59
7.4.110.0200.00316.59
7.4.100.0120.00916.32
7.4.90.0150.00316.61
7.4.80.0090.00919.39
7.4.70.0040.01216.73
7.4.60.0120.00616.55
7.4.50.0110.00416.55
7.4.40.0030.01416.57
7.4.30.0090.01216.58
7.4.00.0060.01215.13
7.3.330.0060.00013.14
7.3.320.0030.00313.17
7.3.310.0070.00016.18
7.3.300.0030.00316.33
7.3.290.0050.00216.20
7.3.280.0100.00616.30
7.3.270.0060.01217.40
7.3.260.0120.01216.36
7.3.250.0100.00716.46
7.3.240.0110.00616.36
7.3.230.0060.01216.46
7.3.210.0060.00916.47
7.3.200.0030.01319.39
7.3.190.0090.00616.29
7.3.180.0160.00016.49
7.3.170.0130.00716.47
7.3.160.0100.00716.50
7.2.330.0150.00316.41
7.2.320.0070.01016.77
7.2.310.0110.00616.78
7.2.300.0030.01416.47
7.2.290.0100.01116.63
7.2.60.0100.00316.79
7.2.00.0040.00719.32
7.1.200.0120.00315.65
7.1.100.0070.00718.41
7.1.70.0000.00817.12
7.1.60.0150.00919.40
7.1.50.0060.00616.61
7.1.00.0100.07022.25
7.0.200.0970.00914.68
7.0.60.0270.06721.64
7.0.50.0070.04017.89
7.0.40.0030.07320.18
7.0.30.0300.08020.05
7.0.20.0300.05720.19
7.0.10.0100.07020.20
7.0.00.0030.04020.14
5.6.280.0100.05321.09
5.6.210.0100.03320.50
5.6.200.0100.06318.16
5.6.190.0070.06020.55
5.6.180.0370.07320.67
5.6.170.0330.06720.47
5.6.160.0070.08720.54
5.6.150.0000.07718.18
5.6.140.0130.04018.18
5.6.130.0130.03718.11
5.6.120.0000.04320.96
5.6.110.0170.07721.08
5.6.100.0000.05720.96
5.6.90.0000.07721.03
5.6.80.0100.07320.41
5.5.350.0000.08720.29
5.5.340.0100.06018.05
5.5.330.0130.07320.47
5.5.320.0270.04320.34
5.5.310.0230.04020.23
5.5.300.0100.06017.95
5.5.290.0070.05318.03
5.5.280.0100.08020.64
5.5.270.0070.04320.67
5.5.260.0070.06720.96
5.5.250.0170.05720.68
5.5.240.0270.06320.13

preferences:
56.93 ms | 400 KiB | 5 Q