3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Chanelle { private $_famille = 'rats'; public function __construct() { echo "Le propriƩtaire de Chanelle est Dorianne\n"; } } class Channus implements Chanelle{ public function __construct() { echo parent::__construct(). " mais le vrai papa est Adrien"; } } $petitRat = new Chanelle(); $petitRat();

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.0170.00318.31
8.3.50.0040.01321.92
8.3.40.0090.00618.76
8.3.30.0140.00319.09
8.3.20.0070.00020.39
8.3.10.0080.00022.08
8.3.00.0000.00822.34
8.2.180.0030.01416.50
8.2.170.0110.00322.96
8.2.160.0140.00018.87
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0070.01126.16
8.2.120.0110.00017.34
8.2.110.0030.00622.14
8.2.100.0060.00619.39
8.2.90.0000.00719.14
8.2.80.0000.00817.97
8.2.70.0000.00917.24
8.2.60.0040.00417.91
8.2.50.0050.00318.07
8.2.40.0040.00419.82
8.2.30.0040.00417.97
8.2.20.0000.00717.44
8.2.10.0030.00517.43
8.2.00.0000.00817.48
8.1.280.0060.01525.92
8.1.270.0060.00322.01
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00323.76
8.1.230.0040.00819.04
8.1.220.0000.00817.74
8.1.210.0090.00018.77
8.1.200.0030.00617.23
8.1.190.0030.00517.30
8.1.180.0040.00418.62
8.1.170.0040.00418.46
8.1.160.0000.00722.20
8.1.150.0000.00818.50
8.1.140.0040.00417.34
8.1.130.0000.00617.83
8.1.120.0000.00817.31
8.1.110.0030.00617.21
8.1.100.0050.00217.19
8.1.90.0000.00717.21
8.1.80.0000.00717.26
8.1.70.0030.00317.31
8.1.60.0000.00817.36
8.1.50.0040.00417.40
8.1.40.0080.00017.43
8.1.30.0000.00717.38
8.1.20.0050.00317.50
8.1.10.0040.00417.29
8.1.00.0000.00817.38
8.0.300.0040.00418.77
8.0.290.0040.00416.91
8.0.280.0040.00418.43
8.0.270.0030.00317.14
8.0.260.0030.00316.81
8.0.250.0030.00316.92
8.0.240.0040.00416.86
8.0.230.0000.00716.93
8.0.220.0070.00016.70
8.0.210.0060.00016.73
8.0.200.0030.00316.92
8.0.190.0040.00416.93
8.0.180.0030.00316.88
8.0.170.0060.00316.86
8.0.160.0000.00816.88
8.0.150.0030.00316.79
8.0.140.0000.00716.70
8.0.130.0030.00313.29
8.0.120.0040.00416.69
8.0.110.0060.00316.79
8.0.100.0000.00716.70
8.0.90.0040.00416.86
8.0.80.0060.00916.83
8.0.70.0040.00416.82
8.0.60.0000.00716.86
8.0.50.0000.00716.72
8.0.30.0090.01116.99
8.0.20.0090.00917.40
8.0.10.0040.00416.92
8.0.00.0140.00616.65
7.4.330.0050.00015.03
7.4.320.0030.00316.53
7.4.300.0000.00616.45
7.4.290.0050.00316.37
7.4.280.0030.00316.53
7.4.270.0000.00816.59
7.4.260.0000.00816.53
7.4.250.0070.00016.40
7.4.240.0060.00116.48
7.4.230.0000.00716.28
7.4.220.0130.00316.47
7.4.210.0090.00716.45
7.4.200.0070.00016.38
7.4.190.0030.00316.42
7.4.160.0100.00616.13
7.4.150.0150.00317.40
7.4.140.0120.00617.86
7.4.130.0090.01016.41
7.4.120.0130.00416.53
7.4.110.0100.00716.38
7.4.100.0120.00916.64
7.4.90.0110.01416.27
7.4.80.0100.00619.39
7.4.70.0060.01516.61
7.4.60.0080.00816.26
7.4.50.0000.00916.39
7.4.40.0060.00922.77
7.4.30.0130.00616.40
7.4.00.0050.01215.06
7.3.330.0000.00513.09
7.3.320.0000.00513.23
7.3.310.0030.00316.14
7.3.300.0030.00316.28
7.3.290.0100.01016.22
7.3.280.0090.00516.26
7.3.270.0130.00417.40
7.3.260.0180.00316.26
7.3.250.0130.00516.27
7.3.240.0090.01016.45
7.3.230.0000.01816.44
7.3.210.0100.00716.53
7.3.200.0000.01619.39
7.3.190.0110.00816.39
7.3.180.0130.00316.32
7.3.170.0060.00916.32
7.3.160.0100.01016.25
7.3.120.0070.00714.93
7.3.110.0030.01414.84
7.3.100.0030.01214.50
7.3.90.0100.00314.95
7.3.80.0040.00714.72
7.3.70.0140.00014.62
7.3.60.0000.01414.72
7.3.50.0030.00614.84
7.3.40.0090.00614.84
7.3.30.0030.01014.80
7.3.20.0040.00416.58
7.3.10.0090.00616.55
7.3.00.0040.00416.59
7.2.330.0060.01216.32
7.2.320.0130.00616.36
7.2.310.0120.00616.65
7.2.300.0040.01516.38
7.2.290.0030.01316.66
7.2.250.0040.01514.77
7.2.240.0060.01215.13
7.2.230.0080.00815.14
7.2.220.0000.00914.98
7.2.210.0030.00914.59
7.2.200.0030.01214.76
7.2.190.0030.01015.00
7.2.180.0060.00314.58
7.2.170.0090.00314.97
7.1.330.0090.00615.75
7.1.320.0040.00715.70
7.1.310.0060.00915.64
7.1.300.0040.00715.58
7.1.290.0060.00615.56
7.1.280.0000.00915.54
7.1.270.0030.01015.82
7.1.260.0050.00315.43
7.1.100.0040.00718.09
7.1.70.0040.00717.00
7.1.60.0170.00719.82
7.1.50.0130.01316.83
7.1.00.0030.07722.36
7.0.200.0000.00716.67
7.0.140.0100.06722.11
7.0.60.0200.07719.90
7.0.50.0030.04717.95
7.0.40.0130.06720.11
7.0.30.0230.08020.09
7.0.20.0430.04320.09
7.0.10.0130.05720.12
7.0.00.0200.07020.20
5.6.280.0000.07721.03
5.6.210.0170.07320.61
5.6.200.0030.05318.21
5.6.190.0070.08720.61
5.6.180.0170.04320.55
5.6.170.0270.05720.44
5.6.160.0130.08320.45
5.6.150.0070.03718.25
5.6.140.0100.07718.21
5.6.130.0070.08018.26
5.6.120.0000.04321.14
5.6.110.0100.07020.89
5.6.100.0130.06721.09
5.6.90.0070.07321.13
5.6.80.0100.07720.54
5.5.350.0030.07020.39
5.5.340.0070.04018.02
5.5.330.0030.09020.41
5.5.320.0330.06720.36
5.5.310.0270.04720.41
5.5.300.0100.04717.99
5.5.290.0100.05717.99
5.5.280.0070.05320.77
5.5.270.0070.03720.89
5.5.260.0100.03720.77
5.5.250.0070.08320.57
5.5.240.0070.06020.27
5.4.450.0670.05719.63
5.4.440.0830.05719.57
5.4.430.0200.04719.29
5.4.420.0600.05319.43
5.4.410.0730.06319.48
5.4.400.1000.04719.28
5.4.390.0770.06319.29
5.4.380.0230.06018.75
5.4.370.0900.04718.72
5.4.360.0970.05318.59
5.4.350.0970.05318.52
5.4.340.0900.06318.59
5.4.320.0080.03712.50
5.4.310.0050.03812.50
5.4.300.0070.05012.50
5.4.290.0050.03812.49
5.4.280.0040.03612.40
5.4.270.0050.03812.39
5.4.260.0070.05018.79
5.4.250.0200.06019.00
5.4.240.0170.04718.99
5.4.230.0170.04318.64
5.4.220.0070.06018.74
5.4.210.0100.05018.79
5.4.200.0000.05718.65
5.4.190.0070.08018.89
5.4.180.0070.05018.78
5.4.170.0000.06318.79
5.4.160.0200.05718.78
5.4.150.0200.06319.09
5.4.140.0130.04716.50
5.4.130.0070.05016.31
5.4.120.0170.04016.30
5.4.110.0200.05316.65
5.4.100.0170.05716.52
5.4.90.0130.05316.57
5.4.80.0070.06316.61
5.4.70.0000.07716.47
5.4.60.0100.07016.34
5.4.50.0130.06316.45
5.4.40.0100.05316.52
5.4.30.0130.04016.44
5.4.20.0070.05016.38
5.4.10.0070.05316.29
5.4.00.0170.04315.83
5.3.290.0060.03912.80
5.3.280.0130.04714.78
5.3.270.0030.05714.77
5.3.260.0170.05314.61
5.3.250.0070.05314.57
5.3.240.0100.05014.63
5.3.230.0000.06014.67
5.3.220.0070.06014.75
5.3.210.0170.04314.75
5.3.200.0170.04314.75
5.3.190.0000.08014.66
5.3.180.0070.05314.64
5.3.170.0170.06314.74
5.3.160.0070.05014.59
5.3.150.0030.06314.70
5.3.140.0030.06314.57
5.3.130.0030.05714.63
5.3.120.0070.05314.68
5.3.110.0100.05014.57
5.3.100.0100.05014.11
5.3.90.0100.05714.02
5.3.80.0070.05314.00
5.3.70.0070.06014.10
5.3.60.0100.04314.08
5.3.50.0130.04013.78
5.3.40.0000.05714.04
5.3.30.0030.05013.99
5.3.20.0030.05013.79
5.3.10.0000.05013.73
5.3.00.0070.04713.64
5.2.170.0100.04011.23
5.2.160.0030.04011.15
5.2.150.0100.04011.13
5.2.140.0100.04011.10
5.2.130.0000.04311.19
5.2.120.0000.06311.18
5.2.110.0030.04011.18
5.2.100.0030.05011.29
5.2.90.0170.04311.19
5.2.80.0000.06011.07
5.2.70.0070.05311.08
5.2.60.0070.04011.05
5.2.50.0070.05711.02
5.2.40.0100.03711.07
5.2.30.0100.03711.08
5.2.20.0100.05010.96
5.2.10.0030.05310.85
5.2.00.0070.05310.79
5.1.60.0030.0479.98
5.1.50.0100.0279.95
5.1.40.0030.03310.07
5.1.30.0000.05710.32
5.1.20.0100.03010.26
5.1.10.0000.05310.02
5.1.00.0100.03010.27
5.0.50.0100.0238.61
5.0.40.0030.0278.46
5.0.30.0030.0438.19
5.0.20.0000.0308.24
5.0.10.0030.0278.11
5.0.00.0030.0408.23
4.4.90.0100.0206.62
4.4.80.0070.0276.62
4.4.70.0000.0236.62
4.4.60.0070.0206.62
4.4.50.0030.0236.62
4.4.40.0000.0376.62
4.4.30.0000.0236.62
4.4.20.0000.0276.62
4.4.10.0000.0236.62
4.4.00.0000.0336.62
4.3.110.0000.0236.62
4.3.100.0100.0136.62
4.3.90.0100.0176.62
4.3.80.0000.0336.62
4.3.70.0000.0236.62
4.3.60.0070.0176.62
4.3.50.0030.0206.62
4.3.40.0000.0336.62
4.3.30.0070.0176.62
4.3.20.0000.0236.62
4.3.10.0000.0236.62
4.3.00.0000.0308.11

preferences:
41.72 ms | 401 KiB | 5 Q