3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = 'categoryparameterusedpricing_15'; $domain = strstr($email, '_', true); echo $domain.'<br>'; // выводит @example.com $user = strstr($email, '_'); // Начиная с PHP 5.3.0 echo $user; // выводит name

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.0090.00618.63
8.3.30.0030.01018.83
8.3.20.0070.00020.18
8.3.10.0040.00423.53
8.3.00.0070.00319.14
8.2.170.0070.00722.96
8.2.160.0160.00320.52
8.2.150.0070.00724.18
8.2.140.0100.00024.66
8.2.130.0070.00026.16
8.2.120.0050.00517.93
8.2.110.0030.00620.42
8.2.100.0070.00417.78
8.2.90.0050.00317.50
8.2.80.0030.00517.97
8.2.70.0050.00317.80
8.2.60.0040.00418.22
8.2.50.0040.00418.10
8.2.40.0050.00219.34
8.2.30.0080.00019.11
8.2.20.0040.00417.58
8.2.10.0050.00218.10
8.2.00.0100.00017.65
8.1.270.0060.00319.01
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.80
8.1.230.0040.00820.75
8.1.220.0040.00417.74
8.1.210.0080.00018.80
8.1.200.0030.00716.98
8.1.190.0060.00317.23
8.1.180.0090.00018.10
8.1.170.0060.00318.41
8.1.160.0000.00718.91
8.1.150.0040.00418.83
8.1.140.0040.00417.37
8.1.130.0030.00317.42
8.1.120.0030.00317.33
8.1.110.0030.00617.41
8.1.100.0070.00017.34
8.1.90.0040.00417.45
8.1.80.0040.00417.39
8.1.70.0070.00017.31
8.1.60.0040.00417.51
8.1.50.0050.00317.35
8.1.40.0120.00017.40
8.1.30.0030.00617.61
8.1.20.0000.00717.61
8.1.10.0000.00817.50
8.1.00.0040.00417.41
8.0.300.0080.00019.63
8.0.290.0030.00616.63
8.0.280.0040.00418.41
8.0.270.0000.00717.24
8.0.260.0040.00416.75
8.0.250.0030.00316.98
8.0.240.0000.00716.98
8.0.230.0000.00716.87
8.0.220.0030.00316.79
8.0.210.0000.00716.86
8.0.200.0000.00717.03
8.0.190.0050.00216.96
8.0.180.0040.00416.86
8.0.170.0040.00416.90
8.0.160.0040.00416.71
8.0.150.0050.00316.72
8.0.140.0030.00316.72
8.0.130.0030.00313.21
8.0.120.0000.00816.89
8.0.110.0000.00716.88
8.0.100.0040.00416.79
8.0.90.0000.00716.87
8.0.80.0140.00716.86
8.0.70.0000.00716.76
8.0.60.0070.00016.76
8.0.50.0000.00816.76
8.0.30.0120.00717.03
8.0.20.0080.00917.40
8.0.10.0040.00416.83
8.0.00.0130.00716.62
7.4.330.0000.00515.08
7.4.320.0070.00016.57
7.4.300.0030.00316.52
7.4.290.0000.00616.41
7.4.280.0050.00316.41
7.4.270.0030.00316.54
7.4.260.0030.00316.43
7.4.250.0000.00716.34
7.4.240.0030.00316.40
7.4.230.0000.00616.23
7.4.220.0130.00916.43
7.4.210.0120.00916.60
7.4.200.0030.00316.30
7.4.160.0070.01016.32
7.4.150.0130.00317.40
7.4.140.0050.01317.86
7.4.130.0060.01316.54
7.4.120.0130.00316.32
7.4.110.0150.00616.49
7.4.100.0100.00716.46
7.4.90.0060.01216.34
7.4.80.0060.01019.39
7.4.70.0090.01316.36
7.4.60.0040.01316.58
7.4.50.0000.00816.48
7.4.40.0100.00616.50
7.4.30.0130.01016.48
7.4.10.0090.00914.85
7.4.00.0070.00914.73
7.3.330.0050.00013.07
7.3.320.0020.00312.95
7.3.310.0060.00016.18
7.3.300.0050.00216.09
7.3.290.0060.01016.19
7.3.280.0090.01016.17
7.3.270.0090.00917.40
7.3.260.0100.00716.46
7.3.250.0090.00916.21
7.3.240.0120.00616.52
7.3.230.0120.00616.44
7.3.210.0040.01216.45
7.3.200.0100.00619.39
7.3.190.0080.00816.18
7.3.180.0070.00716.27
7.3.170.0110.01116.41
7.3.160.0110.00616.28
7.3.130.0090.00614.93
7.3.120.0070.01014.93
7.3.110.0120.00614.69
7.3.100.0070.01014.61
7.3.90.0140.00314.64
7.3.80.0060.00614.63
7.3.70.0030.01014.60
7.3.60.0000.01114.76
7.3.50.0060.00914.80
7.3.40.0140.00014.80
7.3.30.0060.00314.93
7.3.20.0090.00316.69
7.3.10.0100.00816.49
7.3.00.0080.00416.52
7.2.330.0140.00416.39
7.2.320.0090.01216.77
7.2.310.0090.01516.57
7.2.300.0100.01016.59
7.2.290.0090.00916.59
7.2.260.0040.01515.16
7.2.250.0120.00315.26
7.2.240.0060.00915.23
7.2.230.0000.01715.30
7.2.220.0040.01214.88
7.2.210.0000.01215.27
7.2.200.0030.00714.97
7.2.190.0000.01315.00
7.2.180.0060.00915.20
7.2.170.0090.00614.82
7.2.160.0060.00914.73
7.2.150.0100.00716.82
7.2.140.0060.01016.99
7.2.130.0070.00516.64
7.2.120.0120.00916.94
7.2.110.0110.00916.67
7.2.100.0100.00616.86
7.2.90.0060.00916.72
7.2.80.0110.00916.94
7.2.70.0070.01316.57
7.2.60.0080.00616.79
7.2.50.0150.00416.85
7.2.40.0080.01016.90
7.2.30.0070.01116.97
7.2.20.0060.01116.65
7.2.10.0150.00516.78
7.2.00.0110.00517.47
7.1.330.0090.00615.70
7.1.320.0070.01015.82
7.1.310.0030.01015.67
7.1.300.0040.01115.80
7.1.290.0110.00415.82
7.1.280.0070.00715.69
7.1.270.0000.01215.82
7.1.260.0040.01115.57
7.1.250.0100.00415.72
7.1.240.0110.00415.62
7.1.230.0040.01415.86
7.1.220.0000.01115.61
7.1.210.0100.00315.78
7.1.200.0000.01315.91
7.1.190.0070.00315.96
7.1.180.0080.00315.80
7.1.170.0070.01015.66
7.1.160.0030.00615.63
7.1.150.0090.00315.77
7.1.140.0030.01015.96
7.1.130.0040.00815.93
7.1.120.0110.00415.93
7.1.110.0030.01015.98
7.1.100.0160.00417.01
7.1.90.0030.01015.96
7.1.80.0040.01115.93
7.1.70.0050.00916.38
7.1.60.0110.00716.58
7.1.50.0110.00716.29
7.1.40.0070.00415.84
7.1.30.0060.00615.86
7.1.20.0030.00615.85
7.1.10.0050.00315.79
7.1.00.0020.04619.10
7.0.330.0090.00615.50
7.0.320.0060.00615.47
7.0.310.0030.01015.44
7.0.300.0030.01015.40
7.0.290.0080.00015.42
7.0.280.0080.00415.37
7.0.270.0000.01315.36
7.0.260.0080.00315.19
7.0.250.0060.00615.20
7.0.240.0030.01015.18
7.0.230.0100.00015.56
7.0.220.0060.00615.16
7.0.210.0040.00715.38
7.0.200.0050.01016.05
7.0.190.0080.00415.42
7.0.180.0070.00715.54
7.0.170.0060.00615.39
7.0.160.0080.00615.36
7.0.150.0100.00715.56
7.0.140.0030.04018.65
7.0.130.0030.00715.14
7.0.120.0040.00715.33
7.0.110.0070.00715.52
7.0.100.0060.00615.28
7.0.90.0000.01415.32
7.0.80.0000.01415.41
7.0.70.0000.01415.38
7.0.60.0060.02317.86
7.0.50.0050.04516.63
7.0.40.0050.02216.82
7.0.30.0170.03216.91
7.0.20.0170.03916.81
7.0.10.0050.05216.83
7.0.00.0070.03016.74
5.6.400.0040.00714.45
5.6.390.0090.00614.46
5.6.380.0040.01114.32
5.6.370.0070.00714.40
5.6.360.0030.00714.23
5.6.350.0060.01014.12
5.6.340.0060.00314.11
5.6.330.0100.00314.36
5.6.320.0040.00414.17
5.6.310.0110.00414.56
5.6.300.0030.01314.35
5.6.290.0060.00614.46
5.6.280.0110.03517.62
5.6.270.0080.00314.20
5.6.260.0090.00614.45
5.6.250.0070.01014.34
5.6.240.0080.00614.35
5.6.230.0040.00814.28
5.6.220.0000.01614.32
5.6.210.0030.04417.43
5.6.200.0050.03116.16
5.6.190.0130.04017.49
5.6.180.0180.02017.25
5.6.170.0100.03117.29
5.6.160.0050.02517.61
5.6.150.0100.01816.17
5.6.140.0050.03616.11
5.6.130.0030.04816.15
5.6.120.0050.04917.75
5.6.110.0090.04017.66
5.6.100.0080.04517.75
5.6.90.0080.04217.50
5.6.80.0080.04217.32
5.6.70.0030.01214.18
5.6.60.0040.00814.41
5.6.50.0090.00314.11
5.6.40.0030.00614.07
5.6.30.0040.01114.45
5.6.20.0040.01214.22
5.6.10.0070.00414.20
5.6.00.0000.00914.02
5.5.380.0120.00014.20
5.5.370.0100.00314.13
5.5.360.0100.01014.27
5.5.350.0100.04217.38
5.5.340.0030.03816.03
5.5.330.0020.03317.38
5.5.320.0150.03817.14
5.5.310.0200.02817.20
5.5.300.0060.03116.12
5.5.290.0020.04616.19
5.5.280.0080.02317.33
5.5.270.0030.04817.38
5.5.260.0070.03717.29
5.5.250.0070.02817.36
5.5.240.0020.03417.08
5.5.230.0060.00614.18
5.5.220.0030.01414.21
5.5.210.0030.01213.90
5.5.200.0000.01614.18
5.5.190.0080.00614.21
5.5.180.0030.00714.15
5.5.170.0140.00014.18
5.5.160.0030.01014.04
5.5.150.0070.00714.22
5.5.140.0000.01514.13
5.5.130.0110.00013.95
5.5.120.0070.00713.90
5.5.110.0030.01014.25
5.5.100.0130.00014.33
5.5.90.0040.01113.95
5.5.80.0030.00713.92
5.5.70.0040.00814.28
5.5.60.0130.00014.25
5.5.50.0120.00414.31
5.5.40.0060.00613.94
5.5.30.0030.01013.99
5.5.20.0060.00614.20
5.5.10.0040.00714.25
5.5.00.0110.00714.27
5.4.450.0280.02815.27
5.4.440.0430.03315.22
5.4.430.0310.02915.40
5.4.420.0380.03415.19
5.4.410.0180.03515.02
5.4.400.0050.03515.03
5.4.390.0350.03214.99
5.4.380.0120.03414.68
5.4.370.0150.03114.76
5.4.360.0150.03514.76
5.4.350.0170.02814.89
5.4.340.0210.03514.76
5.4.330.0080.00311.13
5.4.320.0100.03514.66
5.4.310.0290.02914.77
5.4.300.0200.03814.76
5.4.290.0180.04214.78
5.4.280.0200.04014.75
5.4.270.0200.03014.76
5.4.260.0160.02914.68
5.4.250.0180.03714.86
5.4.240.0160.04014.63
5.4.230.0130.03314.70
5.4.220.0150.03214.75
5.4.210.0190.02714.78
5.4.200.0110.03013.70
5.4.190.0180.02514.81
5.4.180.0100.03314.65
5.4.170.0150.03014.83
5.4.160.0200.02714.71
5.4.150.0160.02614.67
5.4.140.0200.03213.62
5.4.130.0210.02113.50
5.4.120.0170.03013.61
5.4.110.0200.02213.52
5.4.100.0130.03313.62
5.4.90.0130.03213.47
5.4.80.0150.02813.48
5.4.70.0120.02913.47
5.4.60.0120.02813.58
5.4.50.0100.02913.50
5.4.40.0080.03313.48
5.4.30.0120.03013.58
5.4.20.0150.02513.53
5.4.10.0080.03413.53
5.4.00.0120.02813.35
5.3.290.0200.05314.58
5.3.280.0270.05714.68
5.3.270.0270.05014.68
5.3.260.0170.06014.67
5.3.250.0200.06714.63
5.3.240.0370.04014.49
5.3.230.0200.05314.59
5.3.220.0170.06014.64
5.3.210.0170.06014.53
5.3.200.0170.06014.61
5.3.190.0230.05314.66
5.3.180.0300.04714.46
5.3.170.0270.05714.56
5.3.160.0300.04314.57
5.3.150.0230.05014.47
5.3.140.0230.04714.57
5.3.130.0270.04714.51
5.3.120.0130.06014.59
5.3.110.0200.05314.54
5.3.100.0430.05014.08
5.3.90.0370.06314.02
5.3.80.0300.05014.05
5.3.70.0230.05314.00
5.3.60.0130.06013.91
5.3.50.0270.04713.89
5.3.40.0300.04314.02
5.3.30.0270.04713.90
5.3.20.0400.04313.61
5.3.10.0170.05313.57
5.3.00.0200.05313.71
5.2.170.0300.04311.14
5.2.160.0200.04011.18
5.2.150.0170.04311.07
5.2.140.0130.05711.07
5.2.130.0200.04011.16
5.2.120.0100.05011.25
5.2.110.0170.04311.07
5.2.100.0200.04011.08
5.2.90.0230.04011.03
5.2.80.0100.05311.15
5.2.70.0170.04711.14
5.2.60.0270.05011.11
5.2.50.0170.04310.99
5.2.40.0100.04310.96
5.2.30.0100.04710.94
5.2.20.0130.04310.91
5.2.10.0130.04010.87
5.2.00.0170.04010.66
5.1.60.0170.0309.99
5.1.50.0130.03310.01
5.1.40.0170.03710.08
5.1.30.0130.04010.32
5.1.20.0130.04010.41
5.1.10.0170.03710.09
5.1.00.0130.03710.08
5.0.50.0100.0338.54
5.0.40.0130.0238.40
5.0.30.0070.0478.24
5.0.20.0070.0308.23
5.0.10.0100.0278.15
5.0.00.0100.0408.19
4.4.90.0070.0237.13
4.4.80.0100.0207.13
4.4.70.0130.0177.13
4.4.60.0070.0237.13
4.4.50.0130.0207.13
4.4.40.0100.0437.13
4.4.30.0030.0277.13
4.4.20.0100.0207.13
4.4.10.0030.0277.13
4.4.00.0100.0337.13
4.3.110.0130.0237.13
4.3.100.0070.0237.13
4.3.90.0070.0207.13
4.3.80.0070.0407.13
4.3.70.0130.0177.13
4.3.60.0070.0207.13
4.3.50.0030.0277.13
4.3.40.0100.0407.13
4.3.30.0000.0277.13
4.3.20.0070.0207.13
4.3.10.0000.0277.13
4.3.00.0130.0307.55

preferences:
63.56 ms | 400 KiB | 5 Q