3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { private $x = 123; public function create() { $test = new self; print $test->x; } } $test = new Test; $test->create();

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.70.0220.00018.55
8.3.60.0110.00318.14
8.3.50.0110.00418.17
8.3.40.0150.00018.79
8.3.30.0120.00618.52
8.3.20.0040.00420.77
8.3.10.0030.00523.41
8.3.00.0070.00022.43
8.2.190.0110.00316.58
8.2.180.0090.00918.16
8.2.170.0070.00722.96
8.2.160.0070.00722.11
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0000.00720.99
8.2.110.0100.00019.39
8.2.100.0080.00317.91
8.2.90.0000.00817.97
8.2.80.0000.00817.97
8.2.70.0080.00017.92
8.2.60.0000.00718.22
8.2.50.0040.00418.10
8.2.40.0040.00420.42
8.2.30.0040.00419.27
8.2.20.0040.00417.93
8.2.10.0080.00019.21
8.2.00.0000.00718.10
8.1.280.0070.00725.92
8.1.270.0070.00020.38
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00619.27
8.1.230.0090.00520.89
8.1.220.0030.00617.75
8.1.210.0050.00318.77
8.1.200.0000.00817.23
8.1.190.0000.00917.38
8.1.180.0000.00718.10
8.1.170.0080.00018.40
8.1.160.0070.00018.70
8.1.150.0040.00418.81
8.1.140.0030.00320.25
8.1.130.0060.00020.26
8.1.120.0050.00217.39
8.1.110.0000.00717.44
8.1.100.0000.00917.30
8.1.90.0040.00417.27
8.1.80.0040.00417.39
8.1.70.0030.00317.36
8.1.60.0030.00517.57
8.1.50.0040.00417.52
8.1.40.0000.00817.32
8.1.30.0110.00417.61
8.1.20.0020.00517.59
8.1.10.0030.00517.46
8.1.00.0040.00417.46
8.0.300.0000.00719.64
8.0.290.0050.00316.75
8.0.280.0070.00018.49
8.0.270.0030.00317.23
8.0.260.0030.00320.18
8.0.250.0000.00716.87
8.0.240.0030.00316.82
8.0.230.0030.00316.87
8.0.220.0000.00716.86
8.0.210.0070.00016.83
8.0.200.0000.00716.86
8.0.190.0040.00416.77
8.0.180.0000.00816.79
8.0.170.0060.00316.86
8.0.160.0000.00716.89
8.0.150.0030.00716.75
8.0.140.0000.00716.69
8.0.130.0000.00613.35
8.0.120.0060.00316.80
8.0.110.0030.00516.71
8.0.100.0060.00316.93
8.0.90.0030.00316.85
8.0.80.0070.00716.84
8.0.70.0050.00316.83
8.0.60.0080.00016.69
8.0.50.0040.00416.68
8.0.30.0100.00717.06
8.0.20.0120.00817.17
8.0.10.0030.00316.73
8.0.00.0100.01116.79
7.4.330.0030.00315.55
7.4.320.0030.00316.52
7.4.300.0030.00316.50
7.4.290.0000.00716.50
7.4.280.0080.00016.45
7.4.270.0030.00316.58
7.4.260.0000.00716.46
7.4.250.0000.00716.45
7.4.240.0070.00016.46
7.4.230.0000.00716.36
7.4.220.0030.00516.41
7.4.210.0090.00816.59
7.4.200.0040.00416.59
7.4.160.0060.00916.43
7.4.140.0120.01217.86
7.4.130.0100.00716.38
7.4.120.0030.01416.57
7.4.110.0100.00616.43
7.4.100.0150.00916.63
7.4.90.0000.01816.31
7.4.80.0060.01119.39
7.4.70.0060.01116.54
7.4.60.0090.01516.41
7.4.50.0200.00016.45
7.4.40.0130.00316.41
7.4.00.0050.01114.99
7.3.330.0020.00213.09
7.3.320.0030.00313.16
7.3.310.0000.00716.27
7.3.300.0070.00016.23
7.3.290.0050.00516.09
7.3.280.0080.00716.15
7.3.260.0080.01016.25
7.3.240.0060.01116.36
7.3.230.0170.01016.49
7.3.210.0040.01516.30
7.3.200.0000.01616.29
7.3.190.0180.00316.53
7.3.180.0030.01916.39
7.3.170.0110.01116.22
7.3.160.0120.00316.26
7.3.120.0050.01314.76
7.3.110.0070.01014.75
7.3.100.0070.00914.91
7.3.90.0080.00714.88
7.3.80.0060.00614.88
7.3.70.0090.00514.63
7.3.60.0070.00714.61
7.3.50.0100.00414.81
7.3.40.0050.00914.76
7.3.30.0030.00914.65
7.3.20.0210.00715.86
7.3.10.0310.00515.81
7.3.00.0080.01215.97
7.2.330.0070.01416.80
7.2.320.0160.00616.41
7.2.310.0130.00316.79
7.2.300.0030.01416.36
7.2.290.0120.00916.71
7.2.250.0080.01014.91
7.2.240.0050.01314.77
7.2.230.0020.01414.71
7.2.220.0070.00414.91
7.2.210.0020.01514.98
7.2.200.0140.00314.92
7.2.190.0090.00514.99
7.2.180.0070.00615.08
7.2.170.0040.01114.86
7.2.160.0090.00914.84
7.2.150.2470.01014.99
7.2.140.0390.01014.71
7.2.130.0410.00315.07
7.2.120.1310.01014.76
7.2.110.2720.01014.72
7.2.100.2670.00714.70
7.2.90.2530.00314.73
7.2.80.2430.01015.01
7.2.70.2110.00314.88
7.2.60.2400.02014.85
7.2.50.0850.01014.87
7.2.40.1060.01315.01
7.2.30.0260.00814.91
7.2.20.0110.01114.75
7.2.10.0920.00914.89
7.2.00.2310.00014.95
7.1.330.0060.00815.69
7.1.320.0060.00315.82
7.1.310.0000.01415.61
7.1.300.0050.00815.66
7.1.290.0090.00415.71
7.1.280.0050.01115.72
7.1.270.0710.00814.93
7.1.260.0070.01015.16
7.1.250.0120.00013.84

preferences:
46.23 ms | 401 KiB | 5 Q