3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = 'nameexampl@egdfgdgdfg.com'; $domain = strstr($email, '@'); echo $domain;

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.0150.00619.72
8.3.30.0090.00618.88
8.2.170.0070.01418.72
8.2.160.0100.00320.12
7.4.10.0110.00815.65
7.4.00.0070.01115.14
7.3.130.0050.01115.54
7.3.120.0050.01214.88
7.3.110.0080.00814.89
7.3.100.0070.00815.19
7.3.90.0060.00515.02
7.3.80.0050.00915.01
7.3.70.0060.00714.92
7.3.60.0070.00715.00
7.3.50.0030.00814.90
7.3.40.0070.00615.04
7.3.30.0070.00914.96
7.3.20.0070.01016.85
7.3.10.0090.00816.85
7.3.00.0080.00816.84
7.2.260.0080.00915.88
7.2.250.0050.01315.29
7.2.240.0040.01315.07
7.2.230.0050.00915.31
7.2.220.0050.00915.19
7.2.210.0070.00815.22
7.2.200.0040.00915.24
7.2.190.0090.00415.26
7.2.180.0050.00815.24
7.2.170.0080.00815.13
7.2.160.0100.00815.36
7.2.150.0120.00517.48
7.2.140.0110.00617.28
7.2.130.0080.01017.30
7.2.120.0110.00817.30
7.2.110.0090.00717.33
7.2.100.0050.01317.42
7.2.90.0100.01217.37
7.2.80.0120.00717.45
7.2.70.0100.00817.28
7.2.60.0100.01117.18
7.2.50.0120.00717.31
7.2.40.0110.00917.36
7.2.30.0110.00917.50
7.2.20.0100.01017.30
7.2.10.0100.01017.40
7.2.00.0120.00917.40
7.1.330.0080.00616.04
7.1.320.0060.00616.14
7.1.310.0060.00716.24
7.1.300.0080.00516.02
7.1.290.0050.00916.03
7.1.280.0050.00816.04
7.1.270.0050.00816.00
7.1.260.0070.01016.06
7.1.250.0100.00616.36
7.1.240.0110.00516.55
7.1.230.0120.00916.58
7.1.220.0080.01216.38
7.1.210.0090.00816.42
7.1.200.0120.01016.47
7.1.190.0140.00616.61
7.1.180.0100.01016.38
7.1.170.0140.00516.56
7.1.160.0080.01016.40
7.1.150.0110.01116.57
7.1.140.0110.00714.37
7.1.130.0110.00414.36
7.1.120.0110.00514.37
7.1.110.0070.01014.37
7.1.100.0090.01016.67
7.1.90.0100.01216.66
7.1.80.0090.01216.45
7.1.70.0090.00916.66
7.1.60.0110.01217.50
7.1.50.0090.00815.18
7.1.40.0100.00414.30
7.1.30.0040.01316.51
7.1.20.0050.00916.40
7.1.10.0100.00716.54
7.1.00.0030.03318.30
7.0.330.0110.00616.34
7.0.320.0130.00716.27
7.0.310.0070.01216.01
7.0.300.0090.00916.14
7.0.290.0120.00616.20
7.0.280.0120.00816.17
7.0.270.0090.01116.28
7.0.260.0080.01216.04
7.0.250.0140.00516.07
7.0.240.0070.01016.08
7.0.230.0110.00716.22
7.0.220.0120.00816.15
7.0.210.0110.00816.11
7.0.200.0060.01016.28
7.0.190.0110.00816.17
7.0.180.0090.01016.34
7.0.170.0090.01016.26
7.0.160.0110.00916.36
7.0.150.0110.00714.21
7.0.140.0070.02816.65
7.0.130.0140.00716.25
7.0.120.0100.00514.17
7.0.110.0080.00914.21
7.0.100.0040.02017.35
7.0.90.0060.01917.44
7.0.80.0080.01817.46
7.0.70.0120.02917.47
7.0.60.0100.03317.48
7.0.50.0110.03217.71
7.0.40.0060.02916.17
7.0.30.0040.02916.14
7.0.20.0110.02815.26
7.0.10.0100.03116.27
7.0.00.0090.03015.35
5.6.400.0140.00515.20
5.6.390.0120.00915.07
5.6.380.0100.01115.25
5.6.370.0090.00914.73
5.6.360.0130.00715.11
5.6.350.0110.00914.99
5.6.340.0070.01013.43
5.6.330.0100.00713.45
5.6.320.0150.00714.87
5.6.310.0130.01014.96
5.6.300.0080.01115.01
5.6.290.0110.01014.81
5.6.280.0040.03317.05
5.6.270.0120.00914.95
5.6.260.0070.01215.00
5.6.250.0080.02016.88
5.6.240.0100.01916.88
5.6.230.0070.02016.86
5.6.220.0070.01916.81
5.6.210.0120.02616.79
5.6.200.0090.01915.95
5.6.190.0110.02816.00
5.6.180.0110.02916.97
5.6.170.0070.02916.87
5.6.160.0090.03316.96
5.6.150.0080.03117.09
5.6.140.0100.02817.00
5.6.130.0080.02917.07
5.6.120.0080.02217.03
5.6.110.0070.02516.92
5.6.100.0050.03116.91
5.6.90.0090.02116.98
5.6.80.0070.03116.74
5.6.70.0100.02916.76
5.6.60.0060.02316.76
5.6.50.0130.01516.67
5.6.40.0100.02516.84
5.6.30.0070.01915.77
5.6.20.0120.03016.81
5.6.10.0110.01716.70
5.6.00.0130.02816.68
5.5.380.0090.01816.84
5.5.370.0050.02416.94
5.5.360.0080.02116.75
5.5.350.0070.02716.75
5.5.340.0040.02316.74
5.5.330.0110.03016.87
5.5.320.0060.03315.88
5.5.310.0070.03616.97
5.5.300.0100.02416.96
5.5.290.0080.03116.82
5.5.280.0100.02916.91
5.5.270.0100.01815.79
5.5.260.0070.03016.95
5.5.250.0070.02816.67
5.5.240.0050.02816.57
5.5.230.0080.02116.69
5.5.220.0140.01516.65
5.5.210.0090.02715.53
5.5.200.0090.01916.66
5.5.190.0100.03016.73
5.5.180.0100.02216.62
5.5.170.0110.01115.02
5.5.160.0090.01716.48
5.5.150.0090.01916.63
5.5.140.0110.02916.60
5.5.130.0050.02816.55
5.5.120.0060.03116.61
5.5.110.0090.02116.59
5.5.100.0130.02716.52
5.5.90.0060.02116.37
5.5.80.0050.03416.60
5.5.70.0090.01816.57
5.5.60.0070.03516.60
5.5.50.0070.03216.48
5.5.40.0080.02816.44
5.5.30.0070.03016.47
5.5.20.0040.02216.46
5.5.10.0080.02316.45
5.5.00.0080.03216.63
5.4.450.0090.03114.20
5.4.440.0080.01814.37
5.4.430.0040.02014.37
5.4.420.0080.03114.32
5.4.410.0090.02414.20
5.4.400.0070.01814.02
5.4.390.0080.03013.97
5.4.380.0070.03214.01
5.4.370.0040.02214.06
5.4.360.0050.03014.00
5.4.350.0070.01514.20
5.4.340.0100.02314.01
5.4.330.0050.01111.82
5.4.320.0050.02814.18
5.4.310.0050.01714.10
5.4.300.0040.03014.07
5.4.290.0070.02213.98
5.4.280.0110.02614.10
5.4.270.0050.01914.05
5.4.260.0090.02114.07
5.4.250.0060.03014.11
5.4.240.0080.01914.13
5.4.230.0100.02214.15
5.4.220.0110.02714.12
5.4.210.0100.02914.19
5.4.200.0070.02714.12
5.4.190.0040.03014.00
5.4.180.0020.02314.07
5.4.170.0070.02914.10
5.4.160.0120.02514.14
5.4.150.0080.02214.13
5.4.140.0080.03113.22
5.4.130.0070.02813.22
5.4.120.0050.01613.26
5.4.110.0090.01613.32
5.4.100.0060.03213.10
5.4.90.0080.02513.26
5.4.80.0110.02513.23
5.4.70.0080.02513.26
5.4.60.0030.02113.25
5.4.50.0090.02213.21
5.4.40.0030.03113.28
5.4.30.0080.02913.26
5.4.20.0080.02613.20
5.4.10.0060.02613.23
5.4.00.0050.02713.01
5.3.290.0110.01312.67
5.3.280.0060.02912.61
5.3.270.0100.01412.59
5.3.260.0070.03012.58
5.3.250.0040.03012.52
5.3.240.0070.02812.58
5.3.230.0070.01712.58
5.3.220.0070.01912.56
5.3.210.0070.02912.48
5.3.200.0070.02912.53
5.3.190.0050.02112.51
5.3.180.0070.01912.65
5.3.170.0040.02612.52
5.3.160.0070.03412.56
5.3.150.0060.02412.61
5.3.140.0060.02712.62
5.3.130.0060.02612.59
5.3.120.0080.02612.54
5.3.110.0070.02012.58
5.3.100.0040.03312.35
5.3.90.0090.02712.38
5.3.80.0060.02012.30
5.3.70.0070.02112.33
5.3.60.0060.02612.27
5.3.50.0100.02412.35
5.3.40.0100.02612.28
5.3.30.0060.02412.27
5.3.20.0040.01912.19
5.3.10.0050.01912.14
5.3.00.0010.02012.16
5.2.170.0070.05311.59
5.2.160.0070.05711.59
5.2.150.0030.04011.59
5.2.140.0030.05311.59
5.2.130.0070.06011.59
5.2.120.0070.06311.59
5.2.110.0030.05011.59
5.2.100.0000.06711.59
5.2.90.0070.03311.59
5.2.80.0000.03311.59
5.2.70.0030.02711.59
5.2.60.0130.02011.59
5.2.50.0000.03011.59
5.2.40.0000.02711.59
5.2.30.0030.02711.59
5.2.20.0030.06011.59
5.2.10.0030.04311.59
5.2.00.0030.03011.59
5.1.60.0070.05011.59
5.1.50.0030.03711.59
5.1.40.0030.04311.59
5.1.30.0170.03011.59
5.1.20.0100.04711.59
5.1.10.0000.04711.59
5.1.00.0070.05311.59
5.0.50.0000.03011.59
5.0.40.0000.03311.59
5.0.30.0070.06011.59
5.0.20.0030.04711.59
5.0.10.0000.04711.59
5.0.00.0030.05711.59
4.4.90.0030.01711.59
4.4.80.0000.01711.59
4.4.70.0000.03711.59
4.4.60.0000.03711.59
4.4.50.0030.03011.59
4.4.40.0070.01711.59
4.4.30.0000.02011.59
4.4.20.0000.03711.59
4.4.10.0000.03711.59
4.4.00.0000.05011.59
4.3.110.0000.04711.59
4.3.100.0000.02311.59
4.3.90.0070.02711.59
4.3.80.0070.04311.59
4.3.70.0030.03011.59
4.3.60.0070.02711.59
4.3.50.0030.03311.59
4.3.40.0000.04711.59
4.3.30.0030.02311.59
4.3.20.0000.03311.59
4.3.10.0000.03011.59
4.3.00.0000.01711.59

preferences:
37.96 ms | 400 KiB | 5 Q