3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Caniche { protected $nbPattes =6; public function __construct() { $this->nbPattes = 4; } } $froufrou = new Caniche(); echo $froufrou->nbPattes; //affiche "4"

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.40.0070.00718.88
8.3.30.0140.00018.67
8.3.20.0040.00420.09
8.3.10.0040.00423.66
8.3.00.0040.00419.97
8.2.170.0110.00422.96
8.2.160.0070.00720.47
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00221.00
8.2.120.0040.00426.35
8.2.110.0130.00320.53
8.2.100.0090.00317.80
8.2.90.0000.00819.05
8.2.80.0050.00317.97
8.2.70.0030.00617.50
8.2.60.0060.00317.91
8.2.50.0040.00418.07
8.2.40.0000.00822.28
8.2.30.0050.00320.52
8.2.20.0040.00417.67
8.2.10.0040.00417.86
8.2.00.0040.00417.86
8.1.270.0110.00320.37
8.1.260.0000.01428.09
8.1.250.0120.00328.09
8.1.240.0060.00323.97
8.1.230.0090.00317.70
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0080.00017.35
8.1.190.0080.00017.11
8.1.180.0050.00218.10
8.1.170.0040.00418.52
8.1.160.0040.00420.70
8.1.150.0030.00518.78
8.1.140.0080.00019.43
8.1.130.0030.00317.65
8.1.120.0080.00017.38
8.1.110.0000.00717.40
8.1.100.0050.00317.29
8.1.90.0000.00817.27
8.1.80.0030.00717.35
8.1.70.0030.00317.34
8.1.60.0080.00017.64
8.1.50.0030.00517.59
8.1.40.0000.00817.52
8.1.30.0000.00817.54
8.1.20.0050.00317.66
8.1.10.0040.00417.56
8.1.00.0000.00817.50
8.0.300.0040.00418.77
8.0.290.0050.00216.63
8.0.280.0000.00718.39
8.0.270.0000.00717.19
8.0.260.0050.00217.14
8.0.250.0000.00716.90
8.0.240.0070.00016.97
8.0.230.0000.00816.91
8.0.220.0080.00016.84
8.0.210.0000.00916.82
8.0.200.0000.00616.95
8.0.190.0000.00716.81
8.0.180.0000.00716.86
8.0.170.0000.01116.26
8.0.160.0040.00416.94
8.0.150.0000.00716.83
8.0.140.0110.00016.78
8.0.130.0000.00513.32
8.0.120.0000.00916.81
8.0.110.0000.00716.91
8.0.100.0000.00716.71
8.0.90.0030.00516.77
8.0.80.0140.00316.87
8.0.70.0050.00216.93
8.0.60.0040.00416.75
8.0.50.0040.00416.95
8.0.30.0040.01517.13
8.0.20.0120.00717.40
8.0.10.0030.00517.04
8.0.00.0080.00916.64
7.4.330.0020.00216.67
7.4.320.0030.00316.54
7.4.300.0000.00616.59
7.4.290.0040.00416.61
7.4.280.0000.01216.48
7.4.270.0000.00716.59
7.4.260.0050.00316.59
7.4.250.0040.00416.45
7.4.240.0030.00316.60
7.4.230.0030.00316.52
7.4.220.0080.01216.52
7.4.210.0070.00716.61
7.4.200.0000.00716.62
7.4.160.0040.01116.47
7.4.150.0120.01217.40
7.4.140.0140.00717.86
7.4.130.0090.00816.53
7.4.120.0100.00616.48
7.4.110.0070.01116.49
7.4.100.0160.00316.65
7.4.90.0130.00316.56
7.4.80.0090.00919.39
7.4.70.0000.01516.62
7.4.60.0080.00816.34
7.4.50.0100.00716.29
7.4.40.0090.00816.52
7.4.30.0030.01416.46
7.4.00.0060.00914.87
7.3.330.0030.00513.36
7.3.320.0030.00313.23
7.3.310.0030.00316.38
7.3.300.0030.00516.36
7.3.290.0090.00716.32
7.3.280.0090.00616.32
7.3.270.0220.00017.40
7.3.260.0120.00916.48
7.3.250.0110.00816.33
7.3.240.0140.00516.36
7.3.230.0030.01216.39
7.3.210.0110.00716.33
7.3.200.0080.00816.20
7.3.190.0190.00316.46
7.3.180.0100.00716.50
7.3.170.0090.00916.30
7.3.160.0080.00816.46
7.3.120.0030.01314.61
7.3.110.0040.00814.68
7.3.100.0070.00714.77
7.3.90.0140.00314.56
7.3.80.0000.01114.91
7.3.70.0030.00714.67
7.3.60.0120.00314.79
7.3.50.0090.00614.69
7.3.40.0070.00714.40
7.3.30.0100.00314.65
7.3.20.0030.01016.63
7.3.10.0030.00916.63
7.3.00.0040.00716.53
7.2.330.0100.00716.81
7.2.320.0090.01516.41
7.2.310.0090.00816.72
7.2.300.0100.00916.57
7.2.290.0080.00816.46
7.2.250.0100.00615.31
7.2.240.0060.01214.89
7.2.230.0030.01014.82
7.2.220.0070.00315.10
7.2.210.0080.00814.94
7.2.200.0130.00014.97
7.2.190.0000.01214.86
7.2.180.0120.00315.07
7.2.170.0070.01414.99
7.2.60.0030.00916.77
7.2.00.0100.00719.62
7.1.330.0090.00615.78
7.1.320.0100.00615.79
7.1.310.0040.01215.66
7.1.300.0080.00815.52
7.1.290.0070.01015.45
7.1.280.0100.00315.27
7.1.270.0090.00415.16
7.1.260.0090.00615.80
7.1.200.0060.00915.88
7.1.100.0000.01317.79
7.1.70.0060.00917.18
7.1.60.0140.01119.13
7.1.50.0150.00616.70
7.1.00.0030.07722.43
7.0.200.0000.00816.43
7.0.60.0100.08019.91
7.0.50.0030.07317.90
7.0.40.0070.08320.26
7.0.30.0330.03720.07
7.0.20.0170.04020.41
7.0.10.0100.08720.24
7.0.00.0100.08020.29
5.6.210.0100.06720.55
5.6.200.0130.07318.13
5.6.190.0170.08020.46
5.6.180.0170.05020.33
5.6.170.0300.07320.62
5.6.160.0000.04720.47
5.6.150.0070.04318.16
5.6.140.0030.05718.14
5.6.130.0070.03718.18
5.6.120.0030.05721.08
5.6.110.0130.07720.96
5.6.100.0170.06320.98
5.6.90.0100.07320.98
5.6.80.0200.06720.51
5.5.350.0130.07020.34
5.5.340.0070.06317.98
5.5.330.0070.07320.30
5.5.320.0300.08020.30
5.5.310.0230.07020.33
5.5.300.0130.03018.03
5.5.290.0070.04317.99
5.5.280.0030.06320.66
5.5.270.0030.09020.68
5.5.260.0030.09020.87
5.5.250.0130.06720.61
5.5.240.0130.08320.21

preferences:
48.46 ms | 400 KiB | 5 Q