3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Config { //declare variables private $kmailtext; function __construct() { $this->kmailtext = "Mail ons"; } public function __get($name) { return $this->$name; } } $config = new Config(); echo $this->kmailtext;

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.0070.01116.63
8.3.50.0130.00922.02
8.3.40.0130.00718.85
8.3.30.0110.00418.55
8.3.20.0000.00820.39
8.3.10.0040.00423.66
8.3.00.0030.00619.39
8.2.180.0090.00918.68
8.2.170.0130.01322.96
8.2.160.0110.00320.29
8.2.150.0050.00324.18
8.2.140.0000.00724.66
8.2.130.0080.00017.50
8.2.120.0000.00826.35
8.2.110.0100.00019.21
8.2.100.0080.00317.72
8.2.90.0080.00019.22
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0040.00417.55
8.2.50.0040.00418.07
8.2.40.0000.00819.11
8.2.30.0070.00020.68
8.2.20.0030.00617.63
8.2.10.0030.00618.04
8.2.00.0040.00417.98
8.1.280.0110.00425.92
8.1.270.0000.00923.92
8.1.260.0070.00028.09
8.1.250.0070.00028.09
8.1.240.0060.00322.19
8.1.230.0050.00518.90
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0070.00317.36
8.1.190.0060.00317.13
8.1.180.0000.00718.10
8.1.170.0080.00018.59
8.1.160.0000.00821.88
8.1.150.0070.00018.69
8.1.140.0040.00419.54
8.1.130.0070.00017.55
8.1.120.0000.00717.47
8.1.110.0040.00417.40
8.1.100.0000.00717.43
8.1.90.0000.00717.39
8.1.80.0050.00317.35
8.1.70.0030.00317.22
8.1.60.0000.00817.59
8.1.50.0040.00417.56
8.1.40.0040.00417.50
8.1.30.0040.00417.48
8.1.20.0030.00617.65
8.1.10.0050.00317.60
8.1.00.0040.00417.40
8.0.300.0000.00718.77
8.0.290.0030.00516.75
8.0.280.0040.00418.31
8.0.270.0080.00017.19
8.0.260.0030.00317.06
8.0.250.0050.00217.02
8.0.240.0030.00616.89
8.0.230.0070.00016.97
8.0.220.0000.00716.78
8.0.210.0000.00716.75
8.0.200.0030.00316.88
8.0.190.0040.00416.84
8.0.180.0000.00716.82
8.0.170.0040.00416.73
8.0.160.0030.00316.94
8.0.150.0040.00416.89
8.0.140.0040.00416.73
8.0.130.0060.00013.39
8.0.120.0030.00516.76
8.0.110.0040.00416.77
8.0.100.0040.00416.78
8.0.90.0000.00716.88
8.0.80.0190.00316.90
8.0.70.0000.00716.88
8.0.60.0020.00516.78
8.0.50.0000.00816.95
8.0.30.0120.00716.99
8.0.20.0100.00817.40
8.0.10.0050.00316.89
8.0.00.0100.00716.78
7.4.330.0030.00316.67
7.4.320.0000.00616.45
7.4.300.0000.00616.60
7.4.290.0030.00516.51
7.4.280.0050.00316.48
7.4.270.0030.00316.49
7.4.260.0000.00716.47
7.4.250.0070.00016.47
7.4.240.0020.00616.52
7.4.230.0030.00316.40
7.4.220.0060.00916.63
7.4.210.0110.00716.51
7.4.200.0000.00716.42
7.4.160.0100.00716.46
7.4.150.0150.00417.40
7.4.140.0150.00717.86
7.4.130.0110.00716.61
7.4.120.0070.01016.56
7.4.110.0070.01816.34
7.4.100.0140.00716.30
7.4.90.0070.01716.54
7.4.80.0070.01119.39
7.4.70.0080.01216.50
7.4.60.0100.00716.50
7.4.50.0070.00716.33
7.4.40.0030.01316.55
7.4.30.0040.01816.59
7.4.00.0000.01514.75
7.3.330.0000.00513.34
7.3.320.0020.00213.36
7.3.310.0030.00316.39
7.3.300.0030.00316.40
7.3.290.0030.00316.23
7.3.280.0070.00816.34
7.3.270.0130.00317.40
7.3.260.0100.00716.37
7.3.240.0120.00516.28
7.3.230.0140.00316.49
7.3.210.0070.01016.35
7.3.200.0120.00316.32
7.3.190.0110.00716.35
7.3.180.0080.00816.30
7.3.170.0110.00516.48
7.3.160.0060.00916.31
7.3.120.0040.00814.81
7.3.110.0090.00915.04
7.3.100.0040.01114.99
7.3.90.0070.01014.75
7.3.80.0050.00514.82
7.3.70.0030.00714.83
7.3.60.0080.00414.80
7.3.50.0040.01414.93
7.3.40.0060.00314.46
7.3.30.0180.00014.91
7.3.20.0080.00316.60
7.3.10.0070.00716.61
7.3.00.0070.00716.69
7.2.330.0100.01316.45
7.2.320.0100.01316.50
7.2.310.0070.01116.51
7.2.300.0080.01516.36
7.2.290.0110.00716.64
7.2.240.0090.00915.22
7.2.230.0090.00914.82
7.2.220.0000.01515.25
7.2.210.0080.00415.08
7.2.200.0060.00914.72
7.2.190.0030.00815.03
7.2.180.0100.00015.21
7.2.170.0030.00914.98
7.2.160.0030.01015.13
7.2.150.0130.00316.55
7.2.140.0120.00417.01
7.2.130.0030.00616.72
7.2.120.0060.00616.81
7.2.110.0090.00616.89
7.2.100.0060.00616.69
7.2.90.0040.01217.01
7.2.80.0000.01417.12
7.2.70.0120.00016.86
7.2.60.0070.00816.85
7.2.50.0020.00916.96
7.2.40.0030.01217.01
7.2.30.0180.00416.96
7.2.20.0000.01116.83
7.2.10.0040.00716.99
7.2.00.0070.00818.01
7.1.330.0070.01015.72
7.1.320.0060.01015.73
7.1.310.0000.01015.73
7.1.300.0060.00615.42
7.1.290.0000.01015.71
7.1.280.0100.00315.47
7.1.270.0030.01515.54
7.1.260.0030.00715.27
7.1.250.0080.00415.77
7.1.200.0030.00615.78
7.1.100.0030.01017.91
7.1.70.0080.00016.80
7.1.60.0200.00719.48
7.1.50.0040.01916.89
7.1.00.0070.07722.40
7.0.200.0060.00614.65
7.0.60.0000.04719.86
7.0.50.0070.06717.89
7.0.40.0070.05020.11
7.0.30.0330.06020.09
7.0.20.0330.05320.15
7.0.10.0070.05020.10
7.0.00.0030.06320.10
5.6.280.0000.03721.12
5.6.210.0100.04020.67
5.6.200.0030.04018.15
5.6.190.0170.07320.57
5.6.180.0300.07720.39
5.6.170.0330.07720.54
5.6.160.0130.06320.55
5.6.150.0030.08318.28
5.6.140.0100.05718.15
5.6.130.0130.05318.11
5.6.120.0130.07721.01
5.6.110.0070.08321.02
5.6.100.0100.04720.89
5.6.90.0070.04320.95
5.6.80.0170.07320.49
5.5.350.4000.04320.40
5.5.340.0000.04017.94
5.5.330.0130.08020.32
5.5.320.0400.08020.20
5.5.310.0200.06720.41
5.5.300.0100.08017.95
5.5.290.0000.09017.96
5.5.280.0170.07020.86
5.5.270.0130.07720.88
5.5.260.0200.05320.88
5.5.250.0000.04320.71
5.5.240.0170.07720.16

preferences:
35.99 ms | 401 KiB | 5 Q