3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace test; class TestClass1 { public function TestClass1(){ echo "hello1"; } } $test = new \test\TestClass1(); ?>

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.0070.01018.68
8.3.30.0150.00018.50
8.3.20.0050.00321.62
8.3.10.0070.00021.71
8.3.00.0070.00017.87
8.2.170.0140.00022.96
8.2.160.0070.00720.84
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00020.40
8.2.120.0040.00426.35
8.2.110.0040.00420.35
8.2.100.0110.00017.72
8.2.90.0110.00019.03
8.2.80.0050.00317.97
8.2.70.0050.00317.50
8.2.60.0080.00017.91
8.2.50.0040.00419.21
8.2.40.0070.00020.39
8.2.30.0060.00320.47
8.2.20.0030.00617.99
8.2.10.0030.00517.86
8.2.00.0000.00717.91
8.1.270.0000.00823.91
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00323.84
8.1.230.0040.00720.87
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0050.00517.00
8.1.190.0050.00317.23
8.1.180.0050.00218.10
8.1.170.0000.00718.66
8.1.160.0000.00718.80
8.1.150.0030.00320.19
8.1.140.0040.00419.38
8.1.130.0000.00718.72
8.1.120.0050.00317.28
8.1.110.0050.00217.37
8.1.100.0040.00417.34
8.1.90.0070.00017.40
8.1.80.0040.00417.27
8.1.70.0040.00417.39
8.1.60.0050.00217.52
8.1.50.0030.00517.49
8.1.40.0080.00017.46
8.1.30.0000.00717.39
8.1.20.0090.00017.57
8.1.10.0000.00817.43
8.1.00.0040.00417.42
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0040.00418.34
8.0.270.0030.00517.18
8.0.260.0030.00316.66
8.0.250.0000.00616.93
8.0.240.0040.00416.89
8.0.230.0070.00016.90
8.0.220.0080.00016.75
8.0.210.0070.00016.73
8.0.200.0000.00716.79
8.0.190.0080.00016.88
8.0.180.0000.00716.89
8.0.170.0050.00216.75
8.0.160.0050.00216.71
8.0.150.0030.00316.71
8.0.140.0050.00316.69
8.0.130.0040.00313.22
8.0.120.0030.00316.66
8.0.110.0000.00716.74
8.0.100.0000.00716.68
8.0.90.0070.00016.69
8.0.80.0120.00716.88
8.0.70.0040.00416.65
8.0.60.0030.00516.84
8.0.50.0000.00716.86
8.0.30.0080.01016.84
8.0.20.0130.00817.40
8.0.10.0050.00216.76
8.0.00.0070.01116.66
7.4.330.0000.00515.55
7.4.320.0030.00316.54
7.4.300.0060.00016.46
7.4.290.0020.00516.28
7.4.280.0080.00016.52
7.4.270.0070.00016.42
7.4.260.0080.00016.42
7.4.250.0030.00516.48
7.4.240.0000.00716.54
7.4.230.0000.00716.58
7.4.220.0060.00916.35
7.4.210.0030.01216.40
7.4.200.0080.00016.55
7.4.160.0120.00416.27
7.4.150.0210.00317.40
7.4.140.0120.01217.86
7.4.130.0070.01116.55
7.4.120.0130.00916.45
7.4.110.0030.01416.44
7.4.100.0100.00716.27
7.4.90.0190.00316.38
7.4.80.0070.01019.39
7.4.70.0100.00616.22
7.4.60.0090.00616.30
7.4.50.0000.01516.29
7.4.40.0140.00316.46
7.4.30.0060.00916.55
7.4.00.0120.00414.87
7.3.330.0030.00313.18
7.3.320.0060.00013.20
7.3.310.0070.00016.07
7.3.300.0070.00016.19
7.3.290.0110.00316.13
7.3.280.0070.01016.16
7.3.270.0100.00717.40
7.3.260.0130.00316.30
7.3.250.0120.00716.19
7.3.240.0090.00816.31
7.3.230.0080.00916.03
7.3.210.0060.01016.34
7.3.200.0130.00316.17
7.3.190.0070.01416.07
7.3.180.0070.01116.31
7.3.170.0070.01016.30
7.3.160.0130.00316.09
7.3.120.0070.01014.61
7.3.110.0140.00414.53
7.3.100.0060.01214.68
7.3.90.0070.01014.50
7.3.80.0030.01314.63
7.3.70.0090.00614.46
7.3.60.0060.00614.57
7.3.50.0090.00614.78
7.3.40.0070.00314.67
7.3.30.0030.00714.47
7.3.20.0060.00616.64
7.3.10.0080.00616.50
7.3.00.0020.01116.39
7.2.330.0060.01216.57
7.2.320.0080.01616.55
7.2.310.0100.00716.31
7.2.300.0140.00416.38
7.2.290.0070.01416.26
7.2.250.0060.01215.07
7.2.240.0070.01314.89
7.2.230.0040.01114.61
7.2.220.0080.01114.89
7.2.210.0060.01014.74
7.2.200.0030.00914.60
7.2.190.0070.00714.64
7.2.180.0000.01214.82
7.2.170.0070.01014.80
7.2.130.0040.00816.64
7.2.120.0040.00716.87
7.2.110.0000.00916.76
7.2.100.0080.00016.59
7.2.90.0030.00716.95
7.2.80.0090.00616.39
7.2.70.0060.00616.70
7.2.60.0050.00816.62
7.2.50.0000.01416.58
7.2.40.0060.00616.87
7.2.30.0080.00816.63
7.2.20.0080.00816.68
7.2.10.0030.00616.76
7.2.00.0030.01018.08
7.1.330.0110.00415.72
7.1.320.0100.00715.54
7.1.310.0040.00715.61
7.1.300.0000.01415.39
7.1.290.0030.00715.42
7.1.280.0090.00015.70
7.1.270.0040.00815.32
7.1.260.0070.00415.28
7.1.250.0000.00915.43
7.1.200.0000.01115.48
7.1.100.0040.01117.94
7.1.70.0000.00716.92
7.1.60.0700.00733.10
7.1.50.0570.02332.56
7.1.40.0700.00732.42
7.1.30.1000.02032.48
7.1.20.0270.01032.75
7.1.10.0700.01014.43
7.1.00.0500.01014.57
7.0.200.0500.01014.70
7.0.190.0070.00714.43
7.0.180.0030.00714.17
7.0.170.0470.01714.29
7.0.160.0530.01014.13
7.0.150.0500.01013.99
7.0.140.0070.00714.34
7.0.130.0500.01014.64
7.0.120.0770.00714.59
7.0.110.0630.01014.44
7.0.100.0470.01314.36
7.0.90.0870.01014.41
7.0.80.0870.00714.36
7.0.70.0030.01714.41
7.0.60.0570.00714.03
7.0.50.0800.01014.25
7.0.40.0030.01314.54
7.0.30.0030.01714.61
7.0.20.0800.01014.57
7.0.10.0500.00714.33
7.0.00.0530.00714.47

preferences:
66.8 ms | 400 KiB | 5 Q