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 Chanelles{ 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.0090.00618.43
8.3.50.0030.01321.99
8.3.40.0120.00918.89
8.3.30.0100.00718.96
8.3.20.0080.00020.15
8.3.10.0080.00022.10
8.3.00.0080.00022.58
8.2.180.0120.00616.38
8.2.170.0110.00422.96
8.2.160.0060.00919.09
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0090.00926.16
8.2.120.0080.00317.50
8.2.110.0040.00722.31
8.2.100.0070.00419.52
8.2.90.0090.00019.14
8.2.80.0050.00317.97
8.2.70.0050.00317.25
8.2.60.0030.00517.91
8.2.50.0050.00318.07
8.2.40.0030.00619.82
8.2.30.0000.00717.95
8.2.20.0070.00017.59
8.2.10.0030.00617.45
8.2.00.0040.00417.43
8.1.280.0140.00725.92
8.1.270.0060.00322.06
8.1.260.0090.00026.35
8.1.250.0050.00228.09
8.1.240.0060.00323.77
8.1.230.0000.01119.15
8.1.220.0000.00917.74
8.1.210.0000.00818.77
8.1.200.0030.00616.98
8.1.190.0080.00017.28
8.1.180.0000.00818.59
8.1.170.0040.00418.59
8.1.160.0070.00022.18
8.1.150.0000.00718.39
8.1.140.0040.00417.34
8.1.130.0030.00317.81
8.1.120.0040.00417.29
8.1.110.0040.00417.27
8.1.100.0000.00717.29
8.1.90.0030.00517.34
8.1.80.0040.00417.33
8.1.70.0000.00717.37
8.1.60.0040.00417.51
8.1.50.0040.00417.40
8.1.40.0030.00617.29
8.1.30.0040.00417.44
8.1.20.0050.00317.43
8.1.10.0070.00017.22
8.1.00.0060.00317.37
8.0.300.0070.00018.77
8.0.290.0040.00416.93
8.0.280.0000.00718.24
8.0.270.0000.00717.14
8.0.260.0060.00016.69
8.0.250.0070.00016.91
8.0.240.0020.00516.92
8.0.230.0000.00816.90
8.0.220.0030.00316.82
8.0.210.0040.00416.82
8.0.200.0000.00616.92
8.0.190.0040.00416.84
8.0.180.0000.00816.69
8.0.170.0030.00316.81
8.0.160.0040.00416.87
8.0.150.0030.00416.86
8.0.140.0030.00316.70
8.0.130.0000.00513.23
8.0.120.0000.00816.68
8.0.110.0000.00716.84
8.0.100.0050.00216.85
8.0.90.0000.00716.84
8.0.80.0040.01116.75
8.0.70.0000.00716.64
8.0.60.0080.00016.71
8.0.50.0000.00716.80
8.0.30.0090.01117.09
8.0.20.0100.00917.40
8.0.10.0040.00416.82
8.0.00.0120.00616.55
7.4.330.0030.00315.07
7.4.320.0060.00016.50
7.4.300.0000.00616.52
7.4.290.0050.00316.59
7.4.280.0000.00816.38
7.4.270.0000.00716.46
7.4.260.0000.00816.54
7.4.250.0040.00416.44
7.4.240.0040.00416.54
7.4.230.0030.00316.47
7.4.220.0100.00716.43
7.4.210.0100.00616.46
7.4.200.0000.00816.56
7.4.190.0000.00716.42
7.4.160.0070.01616.44
7.4.150.0100.00717.40
7.4.140.0090.00817.86
7.4.130.0060.01316.64
7.4.120.0130.01016.47
7.4.110.0130.01016.46
7.4.100.0140.00416.58
7.4.90.0090.00916.49
7.4.80.0080.00819.39
7.4.70.0090.00916.39
7.4.60.0120.00616.57
7.4.50.0040.00416.48
7.4.40.0000.01222.77
7.4.30.0090.01216.63
7.4.00.0050.01014.95
7.3.330.0000.00613.23
7.3.320.0000.00513.31
7.3.310.0040.00416.25
7.3.300.0000.00716.25
7.3.290.0040.01116.16
7.3.280.0080.00816.23
7.3.270.0060.01317.40
7.3.260.0170.00616.22
7.3.250.0110.00916.46
7.3.240.0100.00716.42
7.3.230.0110.00916.50
7.3.210.0090.01216.39
7.3.200.0160.00019.39
7.3.190.0120.00616.55
7.3.180.0110.00516.46
7.3.170.0060.00916.31
7.3.160.0160.00016.26
7.3.120.0080.00614.64
7.3.110.0110.00714.79
7.3.100.0100.00314.93
7.3.90.0040.00714.68
7.3.80.0070.00714.53
7.3.70.0140.00314.64
7.3.60.0000.01214.77
7.3.50.0070.00714.90
7.3.40.0030.01014.79
7.3.30.0030.01014.65
7.3.20.0070.00716.51
7.3.10.0060.00616.61
7.3.00.0050.00516.71
7.2.330.0090.00916.50
7.2.320.0030.01416.54
7.2.310.0130.00316.46
7.2.300.0060.01216.54
7.2.290.0070.01116.34
7.2.250.0070.01115.07
7.2.240.0060.01314.46
7.2.230.0030.01314.84
7.2.220.0080.00314.74
7.2.210.0030.00914.88
7.2.200.0040.01414.68
7.2.190.0060.00915.03
7.2.180.0040.00915.08
7.2.170.0130.00314.92
7.2.60.0060.00916.82
7.2.50.0030.01016.63
7.2.00.0000.01219.50
7.1.330.0090.00615.78
7.1.320.0000.01715.57
7.1.310.0120.00315.70
7.1.300.0070.00715.34
7.1.290.0070.00715.67
7.1.280.0100.00015.50
7.1.270.0080.00415.65
7.1.260.0030.01015.53
7.1.200.0120.00015.76
7.1.100.0040.00717.97
7.1.70.0000.00716.89
7.1.60.0070.01719.82
7.1.50.0170.00716.86
7.1.00.0070.09022.33
7.0.200.0000.00816.64
7.0.140.0030.07321.95
7.0.60.0030.04020.03
7.0.50.0070.08017.91
7.0.40.0170.05020.11
7.0.30.0170.04020.06
7.0.20.0270.07320.06
7.0.10.0030.07720.19
7.0.00.0070.03720.24
5.6.280.0000.07321.04
5.6.210.0030.08320.75
5.6.200.0070.06718.19
5.6.190.0100.04720.57
5.6.180.0100.04720.57
5.6.170.0230.07320.47
5.6.160.0070.09020.43
5.6.150.0100.08018.20
5.6.140.0100.07718.20
5.6.130.0070.04018.14
5.6.120.0170.08021.12
5.6.110.0130.06720.98
5.6.100.0130.08321.04
5.6.90.0100.06021.00
5.6.80.0070.08720.38
5.5.350.0000.08720.39
5.5.340.0130.04318.07
5.5.330.0070.08720.21
5.5.320.2170.05020.51
5.5.310.0370.07020.30
5.5.300.0200.06717.95
5.5.290.0030.04317.94
5.5.280.0070.03720.74
5.5.270.0070.04320.63
5.5.260.0100.07720.79
5.5.250.0030.04320.58
5.5.240.0070.05720.13
5.4.450.1070.05319.58
5.4.440.0630.06019.55
5.4.430.0700.06319.21
5.4.420.0170.04719.55
5.4.410.0200.04718.91
5.4.400.0130.05718.89
5.4.390.0070.05318.80
5.4.380.0100.05318.47
5.4.370.0200.05718.59
5.4.360.0270.05018.75
5.4.350.0270.05018.45
5.4.340.0200.05718.74
5.4.320.0040.03812.50
5.4.310.0050.03812.49
5.4.300.0030.04312.50
5.4.290.0030.04012.49
5.4.280.0090.03212.39
5.4.270.0050.04712.39
5.4.260.0070.05318.94
5.4.250.0100.07018.74
5.4.240.0200.04318.96
5.4.230.0070.05718.96
5.4.220.0070.06019.00
5.4.210.0200.04319.02
5.4.200.0100.05018.84
5.4.190.0100.05318.98
5.4.180.0130.07018.80
5.4.170.0100.05018.99
5.4.160.0070.08019.08
5.4.150.0100.07318.97
5.4.140.0130.04716.55
5.4.130.0070.05016.54
5.4.120.0000.05716.39
5.4.110.0130.04316.43
5.4.100.0170.04016.47
5.4.90.0070.04716.64
5.4.80.0030.05016.40
5.4.70.0030.05016.55
5.4.60.0130.04716.38
5.4.50.0070.04716.48
5.4.40.0030.05316.36
5.4.30.0030.05016.62
5.4.20.0170.03716.62
5.4.10.0130.04316.48
5.4.00.0100.05015.90
5.3.290.0060.04212.80
5.3.280.0130.04714.73
5.3.270.0100.05314.70
5.3.260.0070.08014.78
5.3.250.0070.05314.59
5.3.240.0100.07314.74
5.3.230.0100.05014.68
5.3.220.0100.04714.64
5.3.210.0130.04714.70
5.3.200.0100.04714.79
5.3.190.0100.05314.65
5.3.180.0170.04714.47
5.3.170.0100.04714.65
5.3.160.0070.05014.78
5.3.150.0130.05014.57
5.3.140.0030.05714.54
5.3.130.0100.04714.63
5.3.120.0030.05714.54
5.3.110.0170.05714.62
5.3.100.0000.06013.87
5.3.90.0030.05314.10
5.3.80.0200.06013.84
5.3.70.0130.06014.08
5.3.60.0130.04714.02
5.3.50.0170.04314.14
5.3.40.0100.05014.04
5.3.30.0170.06013.99
5.3.20.0070.05313.86
5.3.10.0100.05013.63
5.3.00.0130.04313.54
5.2.170.0030.04311.22
5.2.160.0100.04011.12
5.2.150.0030.06311.33
5.2.140.0070.04711.21
5.2.130.0070.05011.28
5.2.120.0030.06011.27
5.2.110.0170.04011.15
5.2.100.0070.03711.18
5.2.90.0030.06011.01
5.2.80.0100.03710.92
5.2.70.0030.04311.27
5.2.60.0070.04011.14
5.2.50.0070.04010.97
5.2.40.0030.04011.08
5.2.30.0130.05311.05
5.2.20.0030.04311.04
5.2.10.0070.03710.76
5.2.00.0070.04010.71
5.1.60.0030.03310.15
5.1.50.0070.0479.97
5.1.40.0000.05310.18
5.1.30.0070.03710.30
5.1.20.0070.03310.58
5.1.10.0030.0379.91
5.1.00.0100.03710.13
5.0.50.0070.0408.51
5.0.40.0030.0408.32
5.0.30.0070.0408.28
5.0.20.0100.0238.23
5.0.10.0000.0438.14
5.0.00.0070.0408.36
4.4.90.0070.0176.36
4.4.80.0000.0236.36
4.4.70.0000.0236.36
4.4.60.0000.0236.36
4.4.50.0030.0276.36
4.4.40.0000.0336.36
4.4.30.0030.0206.36
4.4.20.0000.0236.36
4.4.10.0000.0236.36
4.4.00.0100.0406.36
4.3.110.0000.0236.36
4.3.100.0030.0306.36
4.3.90.0000.0336.36
4.3.80.0070.0436.50
4.3.70.0000.0236.50
4.3.60.0070.0176.50
4.3.50.0070.0206.50
4.3.40.0030.0336.50
4.3.30.0000.0276.50
4.3.20.0030.0206.50
4.3.10.0030.0276.50
4.3.00.0030.02013.41

preferences:
40.76 ms | 401 KiB | 5 Q