3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Features\\Contexts\\AdminContext"; $actor = explode('\\', $noContext); $actor = substr(end($actor), 0, -7); var_dump($actor);

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.67
8.3.30.0070.00719.00
8.3.20.0050.00320.20
8.3.10.0040.00420.35
8.3.00.0050.00319.26
8.2.170.0150.00322.96
8.2.160.0070.00720.39
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0100.00018.97
8.2.110.0140.00421.11
8.2.100.0080.00417.84
8.2.90.0040.00417.71
8.2.80.0050.00317.97
8.2.70.0050.00317.50
8.2.60.0000.00818.04
8.2.50.0030.00618.07
8.2.40.0000.00917.91
8.2.30.0040.00419.25
8.2.20.0040.00417.64
8.2.10.0070.00018.12
8.2.00.0000.00817.64
8.1.270.0080.00023.79
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0090.00022.65
8.1.230.0120.00020.89
8.1.220.0030.00617.74
8.1.210.0080.00418.77
8.1.200.0070.00317.23
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0040.00418.58
8.1.160.0080.00021.86
8.1.150.0040.00418.74
8.1.140.0040.00417.39
8.1.130.0000.00717.73
8.1.120.0000.00717.45
8.1.110.0000.00717.43
8.1.100.0000.00817.44
8.1.90.0040.00417.43
8.1.80.0040.00417.30
8.1.70.0000.00817.33
8.1.60.0000.00717.49
8.1.50.0070.00017.41
8.1.40.0030.00717.33
8.1.30.0080.00017.61
8.1.20.0000.00717.49
8.1.10.0040.00417.52
8.1.00.0040.00417.49
8.0.300.0000.00819.88
8.0.290.0030.00616.63
8.0.280.0030.00318.39
8.0.270.0000.00717.24
8.0.260.0000.00717.11
8.0.250.0000.00716.79
8.0.240.0000.00716.96
8.0.230.0070.00016.89
8.0.220.0060.00016.80
8.0.210.0030.00316.86
8.0.200.0000.00716.96
8.0.190.0000.00816.97
8.0.180.0000.00716.78
8.0.170.0040.00416.82
8.0.160.0030.00316.95
8.0.150.0000.00716.88
8.0.140.0050.00216.89
8.0.130.0060.00013.36
8.0.120.0030.00516.79
8.0.110.0000.00716.82
8.0.100.0040.00416.91
8.0.90.0070.00016.89
8.0.80.0040.01116.77
8.0.70.0040.00416.94
8.0.60.0070.00016.77
8.0.50.0040.00416.75
8.0.30.0090.01017.10
8.0.20.0070.01917.40
8.0.10.0070.00016.96
8.0.00.0080.01016.75
7.4.330.0020.00215.00
7.4.320.0030.00316.50
7.4.300.0000.00616.46
7.4.290.0000.00616.45
7.4.280.0000.00716.38
7.4.270.0070.00016.46
7.4.260.0070.00016.42
7.4.250.0070.00016.40
7.4.240.0040.00316.45
7.4.230.0040.00416.52
7.4.220.0120.00616.54
7.4.210.0070.00716.43
7.4.200.0030.00316.51
7.4.160.0100.00716.56
7.4.150.0180.00717.40
7.4.140.0080.00917.86
7.4.130.0120.00416.53
7.4.120.0070.01016.47
7.4.110.0090.00616.57
7.4.100.0070.01016.42
7.4.90.0130.00316.63
7.4.80.0030.01516.50
7.4.70.0090.01316.53
7.4.60.0130.00716.45
7.4.50.0000.00816.35
7.4.40.0080.00816.53
7.4.30.0060.01016.20
7.4.00.0000.01514.91
7.3.330.0030.00313.00
7.3.320.0000.00512.91
7.3.310.0030.00316.18
7.3.300.0060.00016.23
7.3.290.0110.00316.15
7.3.280.0090.00716.23
7.3.270.0130.01017.40
7.3.260.0170.00416.43
7.3.250.0110.00816.27
7.3.240.0130.00916.17
7.3.230.0100.01316.39
7.3.210.0060.01716.36
7.3.200.0130.00319.39
7.3.190.0150.00616.32
7.3.180.0080.00816.36
7.3.170.0030.01316.27
7.3.160.0040.01216.23
7.2.330.0100.00716.57
7.2.320.0110.01116.34
7.2.310.0160.00316.29
7.2.300.0090.00616.17
7.2.290.0130.00316.26
7.2.00.0030.00919.02
7.1.100.0100.01317.94
7.1.70.0070.00016.78
7.1.60.0070.01819.32
7.1.50.0060.00616.69
7.1.00.0070.07322.28
7.0.200.0000.00716.64
7.0.140.0070.07022.21
7.0.60.0070.07719.85
7.0.50.0100.08317.66
7.0.40.0030.07720.12
7.0.30.0170.04020.20
7.0.20.0170.04720.09
7.0.10.0100.08720.21
7.0.00.0000.08319.99
5.6.280.0100.06320.76
5.6.210.0070.07720.51
5.6.200.0030.04018.19
5.6.190.0070.04020.35
5.6.180.0530.06720.67
5.6.170.0300.07320.38
5.6.160.0100.07020.71
5.6.150.0070.07718.11
5.6.140.0030.08018.22
5.6.130.0030.09318.18
5.6.120.0070.07720.88
5.6.110.0030.08721.00
5.6.100.0170.07720.99
5.6.90.0070.07020.95
5.6.80.0030.07720.35
5.5.350.0200.08320.28
5.5.340.0070.07317.92
5.5.330.0030.04320.13
5.5.320.0370.05020.28
5.5.310.0200.06720.32
5.5.300.0030.04017.98
5.5.290.0100.05017.99
5.5.280.0070.09020.84
5.5.270.0130.07020.65
5.5.260.0170.04720.67
5.5.250.0070.08020.69
5.5.240.0070.09020.21
5.4.450.1770.04019.41
5.4.440.1870.04719.39
5.4.430.1670.03719.41
5.4.420.1600.03719.21
5.4.410.1570.04319.00
5.4.400.0200.04018.89
5.4.390.0030.04319.25
5.4.380.0730.06019.10
5.4.370.1600.03719.23
5.4.360.1130.03719.08
5.4.350.1600.03719.14
5.4.340.1570.03319.16
5.4.320.1700.05719.09
5.4.310.1570.04018.77
5.4.300.1900.05318.88
5.4.290.1830.05319.24
5.4.280.1600.04019.13
5.4.270.1630.03018.95
5.4.260.1570.04319.21
5.4.250.0800.04318.80
5.4.240.0030.04319.09
5.4.230.0270.04018.88
5.4.220.1670.03019.08
5.4.210.1770.04019.13
5.4.200.1570.03719.02
5.4.190.1700.04019.24
5.4.180.1830.04718.92
5.4.170.2030.04318.79
5.4.160.1770.04019.06
5.4.150.1630.04019.20
5.4.140.1970.04016.40
5.4.130.1530.03716.30
5.4.120.1370.03716.41
5.4.110.0970.04016.39
5.4.100.0030.03716.07
5.4.90.0030.03316.48
5.4.80.1070.03716.37
5.4.70.1670.03316.32
5.4.60.1730.04016.21
5.4.50.0000.06016.39
5.4.40.0000.04016.36
5.4.30.0700.03316.46
5.4.20.0100.06316.31
5.4.10.0100.03016.46
5.4.00.0800.04015.71
5.3.290.0030.04714.60
5.3.280.0100.03714.57
5.3.270.0100.09314.45
5.3.260.1330.04014.47
5.3.250.1930.04014.43
5.3.240.1630.03714.58
5.3.230.1300.04014.43
5.3.220.1800.03714.55
5.3.210.0070.07314.51
5.3.200.0670.06314.45
5.3.190.1700.03714.61
5.3.180.0070.03314.42
5.3.170.0070.03314.41
5.3.160.0230.04014.40
5.3.150.0230.03014.41
5.3.140.0100.04314.40
5.3.130.0070.03714.45
5.3.120.0070.03314.39
5.3.110.0100.03314.40
5.3.100.0000.04013.87
5.3.90.0100.07013.88
5.3.80.0030.05313.89
5.3.70.1400.04014.11
5.3.60.1700.03713.85
5.3.50.0030.04013.86
5.3.40.0100.05013.75
5.3.30.0300.05713.68
5.3.20.1700.03013.49
5.3.10.1870.04013.60
5.3.00.0100.06713.58
5.2.170.0070.03310.99
5.2.160.0900.04711.08
5.2.150.1370.03710.98
5.2.140.1330.02311.15
5.2.130.0070.02711.28
5.2.120.0030.03311.12
5.2.110.0170.04011.15
5.2.100.0900.02311.26
5.2.90.1400.03010.96
5.2.80.0070.02710.95
5.2.70.0030.03710.96
5.2.60.0070.06310.95
5.2.50.0000.03710.92
5.2.40.0930.03011.04
5.2.30.0430.03010.81
5.2.20.1000.03310.80
5.2.10.1030.03010.93
5.2.00.1070.02710.73
5.1.60.1070.02310.70
5.1.50.1170.02710.70
5.1.40.1130.03010.70
5.1.30.0000.02710.70
5.1.20.0100.02310.70
5.1.10.0000.03010.70
5.1.00.0200.02710.70
5.0.50.0070.02710.70
5.0.40.0070.03310.70
5.0.30.0030.03310.70
5.0.20.0000.04010.70
5.0.10.0100.01710.70
5.0.00.0030.03010.70
4.4.90.0000.02710.70
4.4.80.0400.01710.70
4.4.70.0000.02710.70
4.4.60.0000.03710.70
4.4.50.0030.02710.70
4.4.40.0000.02710.70
4.4.30.0000.01710.70
4.4.20.0000.03310.70
4.4.10.0000.02010.70
4.4.00.0000.02310.70
4.3.110.0000.03010.70
4.3.100.0370.02010.70
4.3.90.0700.01710.70
4.3.80.0670.02310.70
4.3.70.0600.02310.70
4.3.60.0730.01710.70
4.3.50.0500.01710.70
4.3.40.0500.03010.70
4.3.30.0430.02310.70
4.3.20.0230.01710.70
4.3.10.0270.02310.70
4.3.00.0270.01310.70

preferences:
45.85 ms | 400 KiB | 5 Q