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.60.0140.00416.75
8.3.50.0070.01221.01
8.3.40.0110.00318.72
8.3.30.0070.00718.70
8.3.20.0040.00420.16
8.3.10.0000.00821.90
8.3.00.0060.00321.61
8.2.180.0070.00716.75
8.2.170.0150.00622.96
8.2.160.0030.01020.55
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0080.00020.59
8.2.120.0080.00026.35
8.2.110.0030.00622.25
8.2.100.0120.00017.91
8.2.90.0060.00317.84
8.2.80.0030.00517.97
8.2.70.0060.00317.50
8.2.60.0070.00317.91
8.2.50.0050.00518.09
8.2.40.0040.00420.40
8.2.30.0040.00419.43
8.2.20.0080.00017.79
8.2.10.0040.00417.94
8.2.00.0040.00418.09
8.1.280.0100.01025.92
8.1.270.0060.00322.19
8.1.260.0050.00326.35
8.1.250.0060.00828.09
8.1.240.0100.00022.50
8.1.230.0080.00420.91
8.1.220.0040.00417.74
8.1.210.0080.00018.88
8.1.200.0030.00617.36
8.1.190.0040.00417.35
8.1.180.0080.00018.10
8.1.170.0040.00418.63
8.1.160.0040.00420.81
8.1.150.0030.00720.80
8.1.140.0030.00619.58
8.1.130.0000.00717.63
8.1.120.0030.00317.35
8.1.110.0050.00317.41
8.1.100.0030.00517.53
8.1.90.0000.00817.37
8.1.80.0030.00617.43
8.1.70.0070.00017.37
8.1.60.0030.00717.56
8.1.50.0050.00317.53
8.1.40.0060.00317.41
8.1.30.0080.00017.50
8.1.20.0000.00817.59
8.1.10.0050.00217.54
8.1.00.0050.00317.57
8.0.300.0040.00420.04
8.0.290.0040.00416.75
8.0.280.0000.00718.36
8.0.270.0030.00317.13
8.0.260.0000.00717.31
8.0.250.0070.00017.03
8.0.240.0070.00016.92
8.0.230.0000.00716.96
8.0.220.0000.00716.98
8.0.210.0000.00716.82
8.0.200.0000.00617.02
8.0.190.0040.00417.06
8.0.180.0000.00716.95
8.0.170.0070.00017.01
8.0.160.0000.00717.00
8.0.150.0040.00416.91
8.0.140.0040.00416.91
8.0.130.0000.00513.41
8.0.120.0040.00416.91
8.0.110.0030.00516.88
8.0.100.0050.00216.75
8.0.90.0030.00317.03
8.0.80.0060.01316.97
8.0.70.0000.00816.84
8.0.60.0040.00416.91
8.0.50.0040.00416.90
8.0.30.0110.00617.16
8.0.20.0080.01017.40
8.0.10.0000.00717.20
8.0.00.0100.01017.03
7.4.330.0000.00516.83
7.4.320.0050.00216.56
7.4.300.0050.00216.52
7.4.290.0030.00316.50
7.4.280.0080.00016.63
7.4.270.0070.00016.62
7.4.260.0060.00016.54
7.4.250.0040.00416.46
7.4.240.0000.00716.60
7.4.230.0000.00716.45
7.4.220.0130.01316.45
7.4.210.0080.00816.58
7.4.200.0040.00416.47
7.4.160.0080.00816.67
7.4.150.0160.00317.40
7.4.140.0090.01217.86
7.4.130.0120.00616.48
7.4.120.0070.01216.76
7.4.110.0080.00916.58
7.4.100.0030.01516.49
7.4.90.0130.00516.46
7.4.80.0140.00319.39
7.4.70.0030.01316.64
7.4.60.0150.00516.56
7.4.50.0130.00316.25
7.4.40.0070.01016.48
7.4.30.0090.00916.37
7.4.00.0060.01215.06
7.3.330.0030.00513.17
7.3.320.0050.00013.09
7.3.310.0000.00716.25
7.3.300.0030.00316.12
7.3.290.0000.00716.30
7.3.280.0080.00916.29
7.3.270.0130.00417.40
7.3.260.0100.01416.37
7.3.250.0090.00916.42
7.3.240.0090.01116.46
7.3.230.0160.00416.39
7.3.210.0060.01016.36
7.3.200.0160.00719.39
7.3.190.0150.00416.33
7.3.180.0120.00916.50
7.3.170.0060.01216.27
7.3.160.0060.00916.38
7.3.120.0130.00614.95
7.3.110.0050.01114.95
7.3.100.0060.00915.04
7.3.90.0070.00614.94
7.3.80.0050.01015.09
7.3.70.0060.00714.84
7.3.60.0050.00814.96
7.3.50.0020.00914.82
7.3.40.0080.00614.93
7.3.30.0080.00414.88
7.3.20.0060.00816.46
7.3.10.0030.00716.63
7.3.00.0060.00516.61
7.2.330.0060.01416.71
7.2.320.0140.00416.41
7.2.310.0070.01016.61
7.2.300.0030.01316.76
7.2.290.0120.00916.73
7.2.250.0080.01115.11
7.2.240.0080.00915.03
7.2.230.0070.00815.18
7.2.220.0040.01015.07
7.2.210.0090.00515.06
7.2.200.0080.00515.05
7.2.190.0050.00815.13
7.2.180.0070.00615.09
7.2.170.0070.00815.03
7.2.60.0140.00016.92
7.2.00.0040.00819.37
7.1.330.0090.00615.70
7.1.320.0050.00915.85
7.1.310.0110.00615.66
7.1.300.0050.00815.81
7.1.290.0070.00715.80
7.1.280.0050.00615.67
7.1.270.0030.00815.59
7.1.260.0040.00815.72
7.1.200.0030.00815.55
7.1.100.0000.01317.92
7.1.70.0030.00317.09
7.1.60.0070.01719.40
7.1.50.0040.01816.87
7.1.00.0030.07722.48
7.0.200.0970.00914.69
7.0.60.0170.07721.59
7.0.50.0100.06317.84
7.0.40.0070.09320.10
7.0.30.0170.04320.23
7.0.20.0330.04720.05
7.0.10.0030.09720.06
7.0.00.0000.04720.14
5.6.280.0030.04721.12
5.6.210.0070.03720.50
5.6.200.0070.05018.14
5.6.190.0030.09020.48
5.6.180.0200.05020.73
5.6.170.0200.05020.52
5.6.160.0200.07320.52
5.6.150.0070.08318.13
5.6.140.0130.06718.16
5.6.130.0070.07718.21
5.6.120.0030.04021.12
5.6.110.0030.09021.07
5.6.100.0130.07320.98
5.6.90.0100.05720.97
5.6.80.0130.07320.35
5.5.350.0070.07320.52
5.5.340.0030.08318.08
5.5.330.0130.04720.56
5.5.320.0200.04020.51
5.5.310.0300.07020.34
5.5.300.0100.06717.98
5.5.290.0070.07717.95
5.5.280.0030.05020.96
5.5.270.0100.04020.75
5.5.260.0100.08020.88
5.5.250.0100.07020.68
5.5.240.0270.07020.34

preferences:
63.68 ms | 401 KiB | 5 Q