3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { protected $error = ''; public function __construct() { return "cool"; } public function lulz() { echo $this->__construct(); } } $i = new foo(); $i->lulz();

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.0090.00918.43
8.3.60.0090.01218.18
8.3.50.0130.00417.43
8.3.40.0100.00718.67
8.3.30.0130.00418.77
8.3.20.0090.00320.27
8.3.10.0000.00720.16
8.3.00.0070.00022.57
8.2.190.0100.01016.58
8.2.180.0000.01518.50
8.2.170.0150.00022.96
8.2.160.0030.01019.41
8.2.150.0080.00024.18
8.2.140.0000.00924.66
8.2.130.0040.00426.16
8.2.120.0070.00026.16
8.2.110.0030.00620.46
8.2.100.0070.00417.78
8.2.90.0000.00818.05
8.2.80.0000.00819.78
8.2.70.0080.00018.05
8.2.60.0060.00318.22
8.2.50.0040.00418.10
8.2.40.0050.00219.38
8.2.30.0000.00819.24
8.2.20.0050.00317.96
8.2.10.0050.00319.09
8.2.00.0040.00419.18
8.1.280.0110.00425.92
8.1.270.0040.00422.34
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0050.00324.01
8.1.230.0060.00620.95
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0100.00317.23
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0000.00818.57
8.1.160.0040.00418.82
8.1.150.0040.00418.73
8.1.140.0040.00422.48
8.1.130.0000.00720.06
8.1.120.0000.00717.28
8.1.110.0070.00017.28
8.1.100.0050.00517.42
8.1.90.0040.00417.38
8.1.80.0000.00717.43
8.1.70.0040.00417.27
8.1.60.0040.00417.51
8.1.50.0070.00017.48
8.1.40.0060.00317.40
8.1.30.0040.00417.59
8.1.20.0000.00817.55
8.1.10.0040.00417.49
8.1.00.0030.00617.54
8.0.300.0070.00519.20
8.0.290.0040.00416.75
8.0.280.0000.00718.37
8.0.270.0000.00717.20
8.0.260.0030.00321.78
8.0.250.0000.00716.96
8.0.240.0030.00316.93
8.0.230.0000.00716.84
8.0.220.0000.00716.81
8.0.210.0000.00816.73
8.0.200.0000.00716.85
8.0.190.0060.00316.86
8.0.180.0030.00616.86
8.0.170.0070.00416.89
8.0.160.0040.00316.71
8.0.150.0030.00616.79
8.0.140.0030.00316.68
8.0.130.0030.00313.27
8.0.120.0040.00416.80
8.0.110.0030.00316.80
8.0.100.0070.00016.85
8.0.90.0000.00916.81
8.0.80.0030.01216.76
8.0.70.0000.00816.85
8.0.60.0080.00016.78
8.0.50.0000.00716.66
8.0.30.0090.00817.20
8.0.20.0190.00017.23
8.0.10.0000.00716.83
8.0.00.0070.01116.64
7.4.330.0000.00515.55
7.4.320.0030.00316.55
7.4.300.0000.00716.55
7.4.290.0040.00416.43
7.4.280.0040.00416.58
7.4.270.0030.00616.49
7.4.260.0000.00513.25
7.4.250.0030.00316.55
7.4.240.0020.00616.47
7.4.230.0050.00316.59
7.4.220.0050.00216.66
7.4.210.0070.01016.57
7.4.200.0000.00716.40
7.4.130.0200.00316.57
7.4.120.0030.01916.49
7.4.110.0090.00916.53
7.4.100.0120.01116.48
7.4.90.0100.00716.50
7.4.80.0080.00819.39
7.4.70.0080.00916.42
7.4.60.0030.01316.48
7.4.50.0120.00216.45
7.4.40.0070.01016.43
7.4.00.0140.00315.21
7.3.330.0000.00716.27
7.3.320.0050.00013.10
7.3.310.0070.00016.33
7.3.300.0060.00016.28
7.3.290.0040.00416.27
7.3.280.0090.00616.18
7.3.260.0080.01016.33
7.3.240.0090.00916.33
7.3.230.0100.00616.32
7.3.210.0150.00416.38
7.3.200.0080.00816.25
7.3.190.0090.01216.30
7.3.180.0080.00816.20
7.3.170.0080.00816.36
7.3.160.0100.00616.13
7.3.90.0070.01014.89
7.3.80.0090.01314.73
7.3.70.0110.00414.79
7.3.60.0110.00614.64
7.3.50.0030.01014.63
7.3.40.0060.00914.63
7.3.30.0060.00714.83
7.3.20.0100.00714.50
7.3.10.0120.00314.77
7.3.00.0090.00614.85
7.2.330.0090.00916.67
7.2.320.0100.00716.71
7.2.310.0090.01216.52
7.2.300.0080.00816.55
7.2.290.0060.01116.65
7.2.220.0090.00615.13
7.2.210.0120.01215.22
7.2.200.0090.00614.95
7.2.190.0060.01215.04
7.2.180.0060.01415.04
7.2.170.0060.01314.84
7.2.160.0090.00914.87
7.2.150.0160.00314.95
7.2.140.0130.00315.07
7.2.130.0130.00914.99
7.2.120.0070.01014.98
7.2.110.0050.01014.88
7.2.100.0070.01015.12
7.2.90.0060.01514.76
7.2.80.0090.01315.00
7.2.70.0030.01715.16
7.2.60.0160.00015.02
7.2.50.0100.01015.06
7.2.40.0100.01015.22
7.2.30.0080.00814.86
7.2.20.0150.00814.85
7.2.10.0080.00815.20
7.2.00.0140.00915.02
7.1.320.0140.00313.55
7.1.310.0030.01813.75
7.1.300.0060.01013.84
7.1.290.0110.00314.01
7.1.280.0090.00613.76
7.1.270.0130.00013.46
7.1.260.0930.01013.63
7.1.250.0120.00613.63

preferences:
100.71 ms | 401 KiB | 5 Q