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->really(); } 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.60.0070.00716.63
8.3.50.0130.00822.05
8.3.40.0100.00318.90
8.3.30.0150.00418.46
8.3.20.0080.00020.34
8.3.10.0000.00723.62
8.3.00.0100.00017.68
8.2.180.0100.00616.75
8.2.170.0120.00622.96
8.2.160.0100.00720.52
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00417.63
8.2.110.0060.00322.13
8.2.100.0040.00817.50
8.2.90.0000.00719.18
8.2.80.0090.00017.97
8.2.70.0040.00417.63
8.2.60.0040.00417.92
8.2.50.0040.00418.07
8.2.40.0030.00619.26
8.2.30.0040.00418.17
8.2.20.0050.00217.59
8.2.10.0000.00818.10
8.2.00.0000.00718.09
8.1.280.0190.00025.92
8.1.270.0070.00020.34
8.1.260.0030.00626.35
8.1.250.0080.00028.09
8.1.240.0060.00822.51
8.1.230.0080.00317.42
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00617.25
8.1.190.0030.00517.35
8.1.180.0080.00018.10
8.1.170.0060.00318.66
8.1.160.0000.00721.98
8.1.150.0000.00718.93
8.1.140.0050.00317.36
8.1.130.0000.00717.68
8.1.120.0050.00317.48
8.1.110.0040.00417.43
8.1.100.0000.00817.49
8.1.90.0040.00417.49
8.1.80.0080.00017.45
8.1.70.0080.00017.34
8.1.60.0000.00817.47
8.1.50.0060.00317.41
8.1.40.0080.00017.45
8.1.30.0030.00617.51
8.1.20.0000.00817.64
8.1.10.0000.00717.58
8.1.00.0000.00717.41
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0040.00418.55
8.0.270.0000.00717.17
8.0.260.0070.00017.30
8.0.250.0000.00716.84
8.0.240.0030.00616.96
8.0.230.0100.00016.96
8.0.220.0040.00416.89
8.0.210.0030.00316.89
8.0.200.0000.00616.84
8.0.190.0040.00416.97
8.0.180.0030.00516.83
8.0.170.0000.00816.92
8.0.160.0050.00316.88
8.0.150.0040.00416.83
8.0.140.0030.00516.81
8.0.130.0050.00013.30
8.0.120.0050.00316.90
8.0.110.0000.00716.75
8.0.100.0040.00416.94
8.0.90.0040.00416.96
8.0.80.0160.00316.84
8.0.70.0050.00216.89
8.0.60.0040.00416.76
8.0.50.0040.00416.84
8.0.30.0040.01316.95
8.0.20.0110.00817.40
8.0.10.0070.00016.89
8.0.00.0070.01216.77
7.4.330.0060.00015.08
7.4.320.0000.00716.53
7.4.300.0050.00216.59
7.4.290.0000.00716.53
7.4.280.0030.00616.50
7.4.270.0070.00016.65
7.4.260.0000.01116.48
7.4.250.0000.00716.39
7.4.240.0030.00316.60
7.4.230.0000.00716.60
7.4.220.0090.00816.55
7.4.210.0040.01116.56
7.4.200.0030.00316.71
7.4.160.0060.00916.72
7.4.150.0120.00917.40
7.4.140.0120.00617.86
7.4.130.0060.01016.50
7.4.120.0090.00716.64
7.4.110.0110.00916.42
7.4.100.0120.00916.27
7.4.90.0090.00916.38
7.4.80.0120.01219.39
7.4.70.0060.01116.58
7.4.60.0060.01216.39
7.4.50.0000.00816.39
7.4.40.0170.00716.61
7.4.30.0130.00716.50
7.4.10.0090.00914.99
7.4.00.0100.00314.89
7.3.330.0000.00513.20
7.3.320.0000.00513.31
7.3.310.0030.00316.14
7.3.300.0040.00416.13
7.3.290.0060.01116.22
7.3.280.0100.00616.24
7.3.270.0090.00917.40
7.3.260.0090.01216.52
7.3.250.0100.00816.43
7.3.240.0130.00316.34
7.3.230.0140.00316.39
7.3.210.0130.00316.34
7.3.200.0130.01216.58
7.3.190.0130.00316.24
7.3.180.0060.01316.32
7.3.170.0130.00316.27
7.3.160.0040.01216.32
7.3.130.0040.01114.80
7.3.120.0060.01014.92
7.3.110.0060.01214.86
7.3.100.0030.01014.91
7.3.90.0000.01114.76
7.3.80.0000.01214.49
7.3.70.0040.00714.63
7.3.60.0060.00614.73
7.3.50.0070.00714.79
7.3.40.0050.00514.48
7.3.30.0050.00614.74
7.3.20.0060.00916.35
7.3.10.0070.00816.50
7.3.00.0080.00516.57
7.2.330.0030.01416.74
7.2.320.0110.00716.64
7.2.310.0070.01016.46
7.2.300.0030.01316.71
7.2.290.0120.00616.60
7.2.260.0180.00014.77
7.2.250.0060.01315.27
7.2.240.0070.00715.12
7.2.230.0000.01815.04
7.2.220.0070.01115.19
7.2.210.0040.01115.11
7.2.200.0030.01215.00
7.2.190.0090.00915.03
7.2.180.0030.00914.94
7.2.170.0000.00814.96
7.2.160.0050.00514.70
7.2.150.0100.00716.83
7.2.140.0070.00716.65
7.2.130.0130.00516.87
7.2.120.0070.00816.85
7.2.110.0090.00516.80
7.2.100.0050.00716.70
7.2.90.0030.01016.84
7.2.80.0040.00616.81
7.2.70.0120.00316.87
7.2.60.0050.01016.74
7.2.50.0100.00216.92
7.2.40.0080.00816.95
7.2.30.0020.01116.88
7.2.20.0030.01016.81
7.2.10.0050.01116.98
7.2.00.0050.00817.86
7.1.330.0090.00615.79
7.1.320.0070.01015.54
7.1.310.0060.00315.91
7.1.300.0100.00315.79
7.1.290.0050.00315.55
7.1.280.0070.00715.72
7.1.270.0120.00315.50
7.1.260.0060.00315.65
7.1.250.0060.00515.48
7.1.240.0040.01115.50
7.1.230.0120.00315.79
7.1.220.0070.00315.67
7.1.210.0060.00615.67
7.1.200.0040.00515.78
7.1.190.0110.00315.71
7.1.180.0000.01015.80
7.1.170.0000.01315.78
7.1.160.0030.01015.71
7.1.150.0050.00515.70
7.1.140.0040.00715.32
7.1.130.0060.00615.47
7.1.120.0060.00615.56
7.1.110.0040.00815.85
7.1.100.0000.01117.05
7.1.90.0120.00015.74
7.1.80.0000.01115.84
7.1.70.0050.00516.35
7.1.60.0090.01217.39
7.1.50.0050.01416.07
7.1.40.0060.00615.45
7.1.30.0030.00615.81
7.1.20.0060.00615.81
7.1.10.0100.00615.57
7.1.00.0070.04019.07
7.0.330.0110.00615.31
7.0.320.0000.01015.37
7.0.310.0080.00415.24
7.0.300.0040.00715.17
7.0.290.0150.00015.14
7.0.280.0040.00415.22
7.0.270.0000.00915.49
7.0.260.0090.00615.35
7.0.250.0080.00315.28
7.0.240.0030.01215.09
7.0.230.0120.00015.24
7.0.220.0030.01015.24
7.0.210.0040.01115.46
7.0.200.0190.00215.83
7.0.190.0120.00315.27
7.0.180.0030.01015.31
7.0.170.0110.00015.26
7.0.160.0060.00915.17
7.0.150.0060.00315.04
7.0.140.0060.00315.23
7.0.130.0060.00315.24
7.0.120.0070.00715.31
7.0.110.0140.00015.28
7.0.100.0070.00715.27
7.0.90.0040.00515.45
7.0.80.0090.00615.38
7.0.70.0070.00415.31
7.0.60.0170.04217.62
7.0.50.0120.02916.59
7.0.40.0070.03416.79
7.0.30.0150.04416.84
7.0.20.0150.03816.72
7.0.10.0050.02216.86
7.0.00.0090.02116.76
5.6.400.0000.00914.59
5.6.390.0100.00714.01
5.6.380.0000.01214.26
5.6.370.0070.00714.31
5.6.360.0000.01114.19
5.6.350.0030.01214.12
5.6.340.0030.00914.20
5.6.330.0040.01114.28
5.6.320.0040.00714.27
5.6.310.0080.00614.65
5.6.300.0000.01514.50
5.6.290.0000.01414.19
5.6.280.0020.02217.70
5.6.270.0070.00714.30
5.6.260.0030.01014.27
5.6.250.0050.00514.26
5.6.240.0040.00414.35
5.6.230.0110.00414.35
5.6.220.0030.01014.29
5.6.210.0060.04117.50
5.6.200.0070.02216.36
5.6.190.0070.04317.44
5.6.180.0170.03017.37
5.6.170.0140.02517.29
5.6.160.0050.03817.37
5.6.150.0060.02016.14
5.6.140.0040.02116.12
5.6.130.0060.02316.25
5.6.120.0090.04417.64
5.6.110.0080.04017.57
5.6.100.0060.04917.61
5.6.90.0050.04517.70
5.6.80.0080.04117.40
5.6.70.0080.00014.01
5.6.60.0070.00314.40
5.6.50.0030.01014.46
5.6.40.0070.00714.00
5.6.30.0030.00614.15
5.6.20.0070.01014.26
5.6.10.0000.01514.24
5.6.00.0100.00314.18
5.5.380.0100.00714.22
5.5.370.0070.00714.16
5.5.360.0120.00414.02
5.5.350.0070.02517.38
5.5.340.0080.04216.19
5.5.330.0050.03017.22
5.5.320.0220.02317.28
5.5.310.0130.02917.09
5.5.300.0100.03916.13
5.5.290.0080.03616.19
5.5.280.0030.04717.60
5.5.270.0030.04417.56
5.5.260.0030.04117.58
5.5.250.0130.04117.57
5.5.240.0170.03517.04
5.5.230.0090.00613.86
5.5.220.0070.00313.91
5.5.210.0040.00814.48
5.5.200.0040.00714.11
5.5.190.0070.01014.22
5.5.180.0000.01513.90
5.5.170.0060.00613.97
5.5.160.0100.00314.08
5.5.150.0130.00014.23
5.5.140.0070.01014.29
5.5.130.0060.00614.34
5.5.120.0060.00714.13
5.5.110.0100.00614.28
5.5.100.0110.00014.15
5.5.90.0040.00714.30
5.5.80.0090.00614.29
5.5.70.0040.00814.25
5.5.60.0100.00013.96
5.5.50.0030.01214.12
5.5.40.0070.00713.93
5.5.30.0070.01114.03
5.5.20.0030.01013.89
5.5.10.0060.00614.34
5.5.00.0090.00613.96
5.4.450.0490.02515.60
5.4.440.0350.03015.79
5.4.430.0320.03315.71
5.4.420.0430.02815.59
5.4.410.0490.02315.65
5.4.400.0420.02715.51
5.4.390.0400.03215.49
5.4.380.0380.03215.49
5.4.370.0400.02915.67
5.4.360.0410.02815.64
5.4.350.0400.03115.65
5.4.340.0470.02515.65
5.4.330.0000.00712.04
5.4.320.0400.03215.63
5.4.310.0370.03515.55
5.4.300.0380.02315.43
5.4.290.0400.03115.55
5.4.280.0280.03215.65
5.4.270.0350.02715.64
5.4.260.0520.02015.57
5.4.250.0380.03315.63
5.4.240.0360.03015.55
5.4.230.0470.03315.65
5.4.220.0480.02315.54
5.4.210.0450.02915.63
5.4.200.0450.02615.48
5.4.190.0410.02815.69
5.4.180.0400.02915.54
5.4.170.0470.02715.64
5.4.160.0430.02815.55
5.4.150.0480.02615.48
5.4.140.0280.03514.22
5.4.130.0450.02214.22
5.4.120.0430.02514.28
5.4.110.0430.02614.12
5.4.100.0430.02714.34
5.4.90.0310.02814.31
5.4.80.0340.02614.31
5.4.70.0130.04014.14
5.4.60.0100.02214.19
5.4.50.0050.03914.15
5.4.40.0100.02014.19
5.4.30.0060.03514.18
5.4.20.0130.03114.24
5.4.10.0050.03114.10
5.4.00.0030.00912.04

preferences:
64.9 ms | 401 KiB | 5 Q