3v4l.org

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

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.0150.00416.73
8.3.50.0120.00522.16
8.3.40.0040.01118.74
8.3.30.0110.00318.87
8.3.20.0040.00420.21
8.3.10.0050.00223.48
8.3.00.0040.00419.79
8.2.180.0070.01416.88
8.2.170.0070.00722.96
8.2.160.0070.00720.48
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0030.00620.97
8.2.120.0080.00026.35
8.2.110.0030.00622.08
8.2.100.0100.00017.91
8.2.90.0080.00017.84
8.2.80.0040.00418.86
8.2.70.0000.01017.63
8.2.60.0000.00817.90
8.2.50.0060.00318.07
8.2.40.0000.00822.03
8.2.30.0000.00720.52
8.2.20.0040.00417.59
8.2.10.0070.00017.91
8.2.00.0040.00417.87
8.1.280.0100.01025.92
8.1.270.0000.01520.33
8.1.260.0030.00628.09
8.1.250.0090.00028.09
8.1.240.0090.00022.54
8.1.230.0000.01120.86
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0000.00817.23
8.1.190.0000.00817.13
8.1.180.0030.00618.10
8.1.170.0040.00418.52
8.1.160.0030.00320.68
8.1.150.0030.00518.82
8.1.140.0000.00819.55
8.1.130.0030.00317.54
8.1.120.0030.00317.33
8.1.110.0030.00417.34
8.1.100.0040.00417.38
8.1.90.0040.00417.37
8.1.80.0020.00617.37
8.1.70.0030.00317.27
8.1.60.0000.00817.60
8.1.50.0040.00417.56
8.1.40.0040.00417.54
8.1.30.0040.00417.65
8.1.20.0040.00417.59
8.1.10.0040.00417.58
8.1.00.0000.00817.49
8.0.300.0050.00220.09
8.0.290.0000.00716.63
8.0.280.0000.00718.37
8.0.270.0070.00017.25
8.0.260.0040.00417.20
8.0.250.0070.00016.83
8.0.240.0040.00416.95
8.0.230.0030.00716.93
8.0.220.0000.00716.86
8.0.210.0000.00816.75
8.0.200.0000.00616.86
8.0.190.0050.00216.98
8.0.180.0060.00316.82
8.0.170.0080.00016.93
8.0.160.0040.00416.91
8.0.150.0070.00016.83
8.0.140.0060.00616.79
8.0.130.0050.00013.25
8.0.120.0000.01116.82
8.0.110.0040.00416.79
8.0.100.0050.00316.66
8.0.90.0070.00016.71
8.0.80.0070.01016.84
8.0.70.0040.00416.95
8.0.60.0040.00416.95
8.0.50.0000.00716.75
8.0.30.0060.01017.09
8.0.20.0070.01417.40
8.0.10.0030.00616.99
8.0.00.0090.00916.70
7.4.330.0030.00316.67
7.4.320.0030.00316.42
7.4.300.0030.00316.60
7.4.290.0070.00016.59
7.4.280.0090.00316.49
7.4.270.0030.00316.55
7.4.260.0060.00316.48
7.4.250.0040.00416.39
7.4.240.0050.00216.59
7.4.230.0050.00316.36
7.4.220.0060.01316.69
7.4.210.0070.00716.68
7.4.200.0070.00016.52
7.4.160.0060.01016.50
7.4.150.0190.00317.40
7.4.140.0070.01517.86
7.4.130.0110.00816.39
7.4.120.0070.01116.49
7.4.110.0130.00316.65
7.4.100.0140.00916.50
7.4.90.0100.00716.51
7.4.80.0040.01319.39
7.4.70.0070.01016.55
7.4.60.0100.00716.43
7.4.50.0100.00716.57
7.4.40.0110.01116.28
7.4.30.0100.00716.41
7.4.10.0040.01514.95
7.4.00.0070.00814.87
7.3.330.0030.00313.33
7.3.320.0020.00313.16
7.3.310.0030.00316.27
7.3.300.0000.00716.33
7.3.290.0100.00616.33
7.3.280.0050.00916.38
7.3.270.0050.01117.40
7.3.260.0070.01716.46
7.3.250.0120.00616.33
7.3.240.0070.01016.35
7.3.230.0100.00616.39
7.3.210.0130.00716.30
7.3.200.0070.01016.41
7.3.190.0130.00316.46
7.3.180.0170.00016.66
7.3.170.0120.00616.59
7.3.160.0090.00916.43
7.3.130.0080.00414.82
7.3.120.0070.00714.71
7.3.110.0030.01414.90
7.3.100.0100.00714.98
7.3.90.0000.01014.74
7.3.80.0000.00814.80
7.3.70.0100.00614.44
7.3.60.0120.00314.86
7.3.50.0120.00314.84
7.3.40.0030.00714.38
7.3.30.0070.00714.67
7.3.20.0070.01116.45
7.3.10.0030.01416.81
7.3.00.0100.00616.70
7.2.330.0090.00916.70
7.2.320.0070.01016.57
7.2.310.0150.00816.41
7.2.300.0090.00616.63
7.2.290.0060.01016.71
7.2.260.0000.01814.74
7.2.250.0060.00914.92
7.2.240.0000.01514.99
7.2.230.0040.01114.85
7.2.220.0130.00315.17
7.2.210.0100.00715.05
7.2.200.0140.00015.01
7.2.190.0110.00415.09
7.2.180.0000.01515.03
7.2.170.0040.01015.04
7.2.160.0060.00914.93
7.2.150.0070.01016.73
7.2.140.0030.01416.72
7.2.130.0110.00417.00
7.2.120.0090.00616.87
7.2.110.0040.01116.68
7.2.100.0040.00816.98
7.2.90.0130.00317.00
7.2.80.0070.01316.85
7.2.70.0070.00716.99
7.2.60.0060.00916.77
7.2.50.0040.01416.91
7.2.40.0100.00617.02
7.2.30.0030.01216.91
7.2.20.0090.00616.72
7.2.10.0030.01216.82
7.2.00.0080.00618.18
7.1.330.0040.01115.40
7.1.320.0040.01115.33
7.1.310.0110.00615.79
7.1.300.0030.01015.44
7.1.290.0090.00315.60
7.1.280.0000.01415.68
7.1.270.0080.00315.40
7.1.260.0070.00715.55
7.1.250.0100.00315.80
7.1.240.0090.00615.40
7.1.230.0000.00915.84
7.1.220.0090.00015.73
7.1.210.0040.01115.76
7.1.200.0120.00315.64
7.1.190.0000.00815.36
7.1.180.0090.00615.71
7.1.170.0060.00615.78
7.1.160.0030.00615.48
7.1.150.0000.01215.36
7.1.140.0070.00715.50
7.1.130.0090.00615.36
7.1.120.0030.01015.59
7.1.110.0060.00615.79
7.1.100.0060.00616.88
7.1.90.0040.01115.84
7.1.80.0030.01015.37
7.1.70.0070.00416.16
7.1.60.0070.01117.36
7.1.50.0070.01016.12
7.1.40.0100.00715.62
7.1.30.0070.00715.44
7.1.20.0030.00715.36
7.1.10.0100.00315.31
7.1.00.0080.03719.14
7.0.330.0040.00715.43
7.0.320.0060.00615.43
7.0.310.0030.00815.37
7.0.300.0070.00615.35
7.0.290.0000.00915.11
7.0.280.0030.00615.13
7.0.270.0060.01015.22
7.0.260.0030.01015.21
7.0.250.0060.00615.23
7.0.240.0000.00915.31
7.0.230.0000.01115.03
7.0.220.0090.00015.06
7.0.210.0000.01215.16
7.0.200.0020.01016.16
7.0.190.0150.00015.40
7.0.180.0000.00915.11
7.0.170.0030.00815.27
7.0.160.0030.01015.05
7.0.150.0070.00714.94
7.0.140.0040.00715.42
7.0.130.0090.00015.36
7.0.120.0040.00715.29
7.0.110.0080.00415.48
7.0.100.0040.00715.38
7.0.90.0070.00315.04
7.0.80.0000.00815.23
7.0.70.0000.01115.28
7.0.60.0030.04317.73
7.0.50.0060.02416.63
7.0.40.0080.03216.87
7.0.30.0130.02316.85
7.0.20.0150.04116.83
7.0.10.0070.04316.76
7.0.00.0040.05116.76
5.6.400.0040.01114.41
5.6.390.0110.00713.96
5.6.380.0070.00714.43
5.6.370.0080.00814.23
5.6.360.0040.00414.51
5.6.350.0030.00914.61
5.6.340.0030.00614.07
5.6.330.0060.00314.32
5.6.320.0120.00414.46
5.6.310.0040.00814.53
5.6.300.0100.00314.30
5.6.290.0030.01014.30
5.6.280.0080.03517.83
5.6.270.0000.01114.56
5.6.260.0080.00514.25
5.6.250.0100.00314.13
5.6.240.0060.00614.22
5.6.230.0000.01714.49
5.6.220.0000.01214.29
5.6.210.0020.05117.39
5.6.200.0080.02616.23
5.6.190.0080.04317.48
5.6.180.0170.02317.38
5.6.170.0160.03117.42
5.6.160.0100.02917.24
5.6.150.0050.03716.26
5.6.140.0040.02616.26
5.6.130.0080.04516.21
5.6.120.0040.02717.63
5.6.110.0060.04417.71
5.6.100.0080.04517.62
5.6.90.0100.04817.61
5.6.80.0070.04417.30
5.6.70.0090.00914.48
5.6.60.0000.00914.20
5.6.50.0030.01014.64
5.6.40.0070.00314.07
5.6.30.0060.00914.09
5.6.20.0040.00814.27
5.6.10.0050.00814.18
5.6.00.0090.00314.19
5.5.380.0000.01713.88
5.5.370.0090.00313.88
5.5.360.0100.00314.00
5.5.350.0120.04817.30
5.5.340.0070.04516.12
5.5.330.0110.03217.18
5.5.320.0200.04017.29
5.5.310.0160.02317.07
5.5.300.0070.04316.25
5.5.290.0020.04916.27
5.5.280.0050.02717.49
5.5.270.0050.02717.60
5.5.260.0070.04617.62
5.5.250.0070.03317.47
5.5.240.0120.03817.26
5.5.230.0040.01114.32
5.5.220.0060.00613.82
5.5.210.0100.00614.09
5.5.200.0060.01013.99
5.5.190.0030.01313.76
5.5.180.0060.00613.66
5.5.170.0060.00613.98
5.5.160.0000.00814.27
5.5.150.0080.00313.93
5.5.140.0060.00313.88
5.5.130.0040.00814.25
5.5.120.0120.00014.38
5.5.110.0070.00714.40
5.5.100.0030.00614.33
5.5.90.0040.01114.30
5.5.80.0040.00813.98
5.5.70.0090.00414.08
5.5.60.0040.00813.87
5.5.50.0030.00913.66
5.5.40.0090.00614.04
5.5.30.0040.00714.05
5.5.20.0070.00713.91
5.5.10.0000.01214.40
5.5.00.0070.00714.17

preferences:
63.14 ms | 401 KiB | 5 Q