3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait ExampleTrait { protected $developer; public function really() { echo 'yep'; } } class Work { protected $developer; use ExampleTrait; public function __construct() { $this->developer = 'Aaron'; echo $this->developer; } public function really() { echo 'noppers'; } } $work = new Work();

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.0100.00318.58
8.3.30.0110.00718.54
8.3.20.0080.00020.16
8.3.10.0040.00423.60
8.3.00.0070.00418.04
8.2.170.0070.01322.96
8.2.160.0130.00320.51
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00017.75
8.2.110.0060.00322.25
8.2.100.0090.00317.50
8.2.90.0040.00419.22
8.2.80.0030.00517.97
8.2.70.0040.00417.50
8.2.60.0080.00018.03
8.2.50.0040.00418.07
8.2.40.0000.00819.34
8.2.30.0000.00717.99
8.2.20.0000.00817.62
8.2.10.0050.00317.87
8.2.00.0000.01017.93
8.1.270.0140.00320.26
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00322.38
8.1.230.0040.00717.42
8.1.220.0040.00417.79
8.1.210.0050.00318.77
8.1.200.0050.00517.23
8.1.190.0030.00517.25
8.1.180.0050.00318.10
8.1.170.0040.00418.69
8.1.160.0040.00421.92
8.1.150.0040.00418.80
8.1.140.0040.00417.38
8.1.130.0000.00717.82
8.1.120.0040.00417.45
8.1.110.0000.00717.45
8.1.100.0070.00017.35
8.1.90.0040.00317.36
8.1.80.0000.00817.43
8.1.70.0030.00317.41
8.1.60.0040.00417.52
8.1.50.0030.00517.41
8.1.40.0050.00217.50
8.1.30.0080.00017.55
8.1.20.0040.00417.65
8.1.10.0040.00417.56
8.1.00.0050.00317.42
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0080.00018.44
8.0.270.0070.00017.18
8.0.260.0000.00817.17
8.0.250.0050.00316.91
8.0.240.0030.00616.80
8.0.230.0040.00417.00
8.0.220.0000.00716.86
8.0.210.0000.00716.86
8.0.200.0030.00316.91
8.0.190.0040.00416.96
8.0.180.0070.00016.80
8.0.170.0090.00016.97
8.0.160.0080.00016.91
8.0.150.0040.00416.74
8.0.140.0030.00416.87
8.0.130.0060.00013.36
8.0.120.0030.00516.87
8.0.110.0000.00816.88
8.0.100.0030.00316.89
8.0.90.0030.00316.79
8.0.80.0060.01316.78
8.0.70.0000.00716.91
8.0.60.0050.00216.87
8.0.50.0070.00016.67
8.0.30.0100.01117.18
8.0.20.0140.00517.40
8.0.10.0000.00717.08
8.0.00.0120.00916.77
7.4.330.0040.00215.08
7.4.320.0000.00616.50
7.4.300.0040.00416.61
7.4.290.0030.00316.55
7.4.280.0030.00616.50
7.4.270.0030.00316.48
7.4.260.0070.00016.54
7.4.250.0080.00016.55
7.4.240.0070.00016.54
7.4.230.0020.00516.62
7.4.220.0000.01616.67
7.4.210.0130.00616.39
7.4.200.0050.00216.59
7.4.160.0110.00416.46
7.4.150.0110.00817.40
7.4.140.0130.00917.86
7.4.130.0080.00916.46
7.4.120.0080.01016.44
7.4.110.0180.00016.55
7.4.100.0110.01116.51
7.4.90.0090.00916.49
7.4.80.0080.01719.39
7.4.70.0130.01016.74
7.4.60.0100.00616.63
7.4.50.0070.00016.62
7.4.40.0100.00716.62
7.4.30.0110.00716.62
7.4.00.0060.01114.86
7.3.330.0030.00313.13
7.3.320.0060.00013.31
7.3.310.0030.00316.36
7.3.300.0040.00416.25
7.3.290.0080.00916.26
7.3.280.0100.00816.29
7.3.270.0170.00417.40
7.3.260.0150.00916.22
7.3.250.0110.00616.29
7.3.240.0100.00716.36
7.3.230.0070.01116.39
7.3.210.0080.00816.23
7.3.200.0090.00616.19
7.3.190.0130.00316.39
7.3.180.0090.00616.56
7.3.170.0100.01016.49
7.3.160.0090.00716.57
7.3.120.0130.00714.71
7.3.110.0070.01114.70
7.3.100.0040.01414.92
7.3.90.0030.01015.09
7.3.80.0000.00914.56
7.3.70.0000.01414.78
7.3.60.0070.00414.86
7.3.50.0060.00914.89
7.3.40.0030.01714.48
7.3.30.0030.00614.81
7.3.20.0080.00016.68
7.3.10.0050.00816.49
7.3.00.0030.01216.55
7.2.330.0070.01316.78
7.2.320.0130.01016.79
7.2.310.0130.00916.85
7.2.300.0100.00616.66
7.2.290.0140.00316.51
7.2.250.0040.01514.99
7.2.240.0030.01714.70
7.2.230.0070.01114.98
7.2.220.0000.01514.93
7.2.210.0070.00614.92
7.2.200.0100.00315.16
7.2.190.0120.00615.09
7.2.180.0030.01415.23
7.2.170.0140.00714.90
7.2.130.0100.00316.96
7.2.120.0040.00917.00
7.2.110.0030.01016.80
7.2.100.0070.00716.65
7.2.90.0030.01516.91
7.2.80.0060.00916.88
7.2.70.0030.00916.56
7.2.60.0090.00717.00
7.2.50.0090.00616.99
7.2.40.0070.01016.80
7.2.30.0150.00017.00
7.2.20.0070.00416.92
7.2.10.0040.00816.77
7.2.00.0070.00718.09
7.1.330.0040.00815.70
7.1.320.0090.00315.58
7.1.310.0080.00415.89
7.1.300.0090.00615.59
7.1.290.0060.01015.68
7.1.280.0060.00915.48
7.1.270.0030.00615.66
7.1.260.0060.00615.73
7.1.250.0090.00615.68
7.1.240.0070.00715.73
7.1.230.0040.00815.59
7.1.220.0070.00315.81
7.1.210.0080.00515.55
7.1.200.0080.00715.73
7.1.190.0000.01515.62
7.1.180.0000.01015.79
7.1.170.0090.00615.48
7.1.160.0040.00815.43
7.1.150.0110.00415.70
7.1.140.0060.00315.66
7.1.130.0050.00515.77
7.1.120.0030.01015.44
7.1.110.0030.00915.75
7.1.100.0070.00616.61
7.1.90.0040.00715.80
7.1.80.0070.00315.57
7.1.70.0040.00616.55
7.1.60.0050.01417.37
7.1.50.0070.01016.24
7.1.40.0080.00015.62
7.1.30.0030.00715.66
7.1.20.0030.00915.61
7.1.10.0060.00915.41
7.1.00.0070.04019.01
7.0.330.0080.00615.18
7.0.320.0060.00315.42
7.0.310.0070.00715.34
7.0.300.0100.00315.38
7.0.290.0070.00715.09
7.0.280.0000.01615.42
7.0.270.0040.00815.32
7.0.260.0000.01015.20
7.0.250.0100.00315.48
7.0.240.0090.00615.11
7.0.230.0060.00315.42
7.0.220.0090.00315.55
7.0.210.0060.00615.43
7.0.200.0120.00515.92
7.0.190.0070.00715.26
7.0.180.0110.00315.05
7.0.170.0090.00315.43
7.0.160.0080.00315.07
7.0.150.0030.00615.18
7.0.140.0090.00315.17
7.0.130.0040.01115.24
7.0.120.0040.00815.63
7.0.110.0040.01115.45
7.0.100.0040.00915.24
7.0.90.0030.00915.43
7.0.80.0070.00715.17
7.0.70.0050.00515.38
7.0.60.0050.02117.59
7.0.50.0070.04316.61
7.0.40.0060.03516.81
7.0.30.0200.04316.83
7.0.20.0070.03116.71
7.0.10.0040.02716.89
7.0.00.0070.02016.63
5.6.380.0030.01014.43
5.6.370.0080.00514.50
5.6.360.0000.00914.19
5.6.350.0120.00314.36
5.6.340.0070.00714.04
5.6.330.0090.00414.19
5.6.320.0060.00613.97
5.6.310.0040.00714.17
5.6.300.0060.00614.11
5.6.290.0030.01314.36
5.6.280.0030.02017.74
5.6.270.0090.00614.36
5.6.260.0000.00914.32
5.6.250.0030.00614.21
5.6.240.0060.00914.63
5.6.230.0030.00714.01
5.6.220.0030.00714.26
5.6.210.0080.03517.30
5.6.200.0020.02516.21
5.6.190.0050.03017.50
5.6.180.0150.02917.23
5.6.170.0250.03917.37
5.6.160.0080.04717.43
5.6.150.0020.02516.18
5.6.140.0090.02016.23
5.6.130.0080.04016.24
5.6.120.0070.04517.61
5.6.110.0050.04417.48
5.6.100.0120.03817.67
5.6.90.0070.04517.57
5.6.80.0100.04017.30
5.6.70.0100.00314.16
5.6.60.0060.00613.98
5.6.50.0000.01714.12
5.6.40.0100.00614.23
5.6.30.0000.00814.21
5.6.20.0030.01014.01
5.6.10.0060.00614.41
5.6.00.0030.00814.19
5.5.380.0060.00611.64
5.5.370.0030.01111.64
5.5.360.0060.00611.64
5.5.350.0150.02516.08
5.5.340.0050.04514.84
5.5.330.0050.04716.04
5.5.320.0020.03515.96
5.5.310.0130.02715.95
5.5.300.0000.02514.83
5.5.290.0070.03314.81
5.5.280.0050.03616.26
5.5.270.0070.04516.23
5.5.260.0080.04216.22
5.5.250.0080.04516.05
5.5.240.0050.04115.90
5.5.230.0070.00011.64
5.5.220.0060.00011.64
5.5.210.0040.00411.64
5.5.200.0050.00311.64
5.5.190.0030.00311.64
5.5.180.0030.00611.64
5.5.170.0090.00311.64
5.5.160.0030.00311.64
5.5.150.0090.00311.64
5.5.140.0000.00911.64
5.5.130.0060.00011.64
5.5.120.0040.00411.64
5.5.110.0030.00911.64
5.5.100.0030.00311.64
5.5.90.0090.00311.64
5.5.80.0100.00311.64
5.5.70.0040.00411.64
5.5.60.0060.00311.64
5.5.50.0000.01011.64
5.5.40.0060.00011.64
5.5.30.0000.01111.64
5.5.20.0030.00311.64
5.5.10.0060.00611.64
5.5.00.0000.01111.64
5.4.450.0470.03215.45
5.4.440.0520.03015.59
5.4.430.0450.02715.59
5.4.420.0440.02715.60
5.4.410.0460.02315.51
5.4.400.0500.02015.34
5.4.390.0420.03015.45
5.4.380.0430.03115.37
5.4.370.0330.02715.28
5.4.360.0280.03115.46
5.4.350.0360.02615.32
5.4.340.0380.02515.45
5.4.330.0040.00811.64
5.4.320.0420.02915.44
5.4.310.0490.01715.44
5.4.300.0340.02815.46
5.4.290.0320.03615.36
5.4.280.0370.03015.38
5.4.270.0450.02615.28
5.4.260.0330.03015.45
5.4.250.0380.03315.34
5.4.240.0450.02815.44
5.4.230.0450.02715.36
5.4.220.0420.03015.44
5.4.210.0400.03215.28
5.4.200.0480.02515.34
5.4.190.0410.03115.44
5.4.180.0450.02815.28
5.4.170.0460.03015.42
5.4.160.0360.02815.43
5.4.150.0370.02815.43
5.4.140.0370.02813.96
5.4.130.0330.03214.07
5.4.120.0230.03814.04
5.4.110.0040.03114.10
5.4.100.0080.02414.12
5.4.90.0060.02814.14
5.4.80.0380.03013.92
5.4.70.0140.03414.09
5.4.60.0100.02214.10
5.4.50.0090.01714.06
5.4.40.0070.02814.10
5.4.30.0070.04114.02
5.4.20.0190.02113.90
5.4.10.0130.02013.99
5.4.00.0040.00411.64

preferences:
48.88 ms | 400 KiB | 5 Q