3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "123, 234"; $str = str_replace(',', '', $str) print_r(explode(",", $str)); ?>

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)
5.4.340.3800.04319.11
5.4.320.0070.03719.17
5.4.310.0070.07719.17
5.4.300.4270.03718.94
5.4.290.4700.03319.10
5.4.280.4600.03719.13
5.4.270.3800.04019.10
5.4.260.4270.03319.04
5.4.250.3800.03319.21
5.4.240.4300.03719.18
5.4.230.4330.04319.05
5.4.220.0030.07318.95
5.4.210.0000.04719.15
5.4.200.4570.03318.98
5.4.190.4570.04019.03
5.4.180.5930.02719.21
5.4.170.4500.03318.95
5.4.160.3600.04319.08
5.4.150.3630.03319.17
5.4.140.3930.03016.35
5.4.130.4200.04016.49
5.4.120.3700.02716.45
5.4.110.3930.03316.64
5.4.100.3630.03316.56
5.4.90.4100.04016.53
5.4.80.4630.03016.50
5.4.70.3630.04016.54
5.4.60.3630.04016.54
5.4.50.3600.03716.49
5.4.40.4000.02716.50
5.4.30.3470.04016.45
5.4.20.3800.03716.61
5.4.10.4500.03016.43
5.4.00.4330.03015.92
5.3.290.0170.04014.56
5.3.280.3700.03014.38
5.3.270.4300.04014.53
5.3.260.3630.04014.53
5.3.250.3730.03714.55
5.3.240.3700.03714.62
5.3.230.3830.04314.57
5.3.220.3770.03314.50
5.3.210.3730.03714.46
5.3.200.3970.04014.52
5.3.190.3970.03014.50
5.3.180.4570.03314.58
5.3.170.4670.03314.49
5.3.160.4000.03314.46
5.3.150.3070.06714.49
5.3.140.3900.03314.57
5.3.130.3970.03314.58
5.3.120.3800.04314.47
5.3.110.3570.03714.52
5.3.100.4170.03713.98
5.3.90.3770.03313.96
5.3.80.3600.04013.96
5.3.70.3630.03714.03
5.3.60.3670.03314.09
5.3.50.3700.03013.88
5.3.40.3630.03713.88
5.3.30.4830.04313.73
5.3.20.3700.03013.78
5.3.10.3630.03713.45
5.3.00.3400.03013.42
5.2.170.3030.03311.29
5.2.160.3130.02311.15
5.2.150.3000.03011.04
5.2.140.3030.03311.07
5.2.130.3030.03011.25
5.2.120.3070.02711.05
5.2.110.3000.03010.92
5.2.100.3030.02711.03
5.2.90.3230.03311.11
5.2.80.3300.03311.08
5.2.70.3470.03711.18
5.2.60.3230.03310.87
5.2.50.2930.03010.91
5.2.40.2630.03010.93
5.2.30.2870.02710.90
5.2.20.2470.02710.89
5.2.10.2930.02710.90
5.2.00.3100.03010.59
5.1.60.2530.0179.95
5.1.50.3900.02010.07
5.1.40.3170.02010.05
5.1.30.3200.03010.38
5.1.20.3230.02010.36
5.1.10.3100.0239.99
5.1.00.3170.0239.97
5.0.50.1770.0238.53
5.0.40.1830.0178.31
5.0.30.1500.0338.37
5.0.20.1870.0208.35
5.0.10.1830.0208.13
5.0.00.1070.0638.12
4.4.90.1470.0175.87
4.4.80.1370.0205.76
4.4.70.0830.0275.81
4.4.60.1370.0175.81
4.4.50.1470.0105.81
4.4.40.1730.0275.86
4.4.30.1700.0235.84
4.4.20.1700.0175.88
4.4.10.1430.0175.86
4.4.00.1700.0275.82
4.3.110.1800.0175.70
4.3.100.1830.0135.77
4.3.90.1770.0175.75
4.3.80.1400.0375.69
4.3.70.1330.0175.67
4.3.60.1200.0175.73
4.3.50.1370.0105.74
4.3.40.1600.0235.73
4.3.30.0700.0235.41
4.3.20.0800.0235.41
4.3.10.0600.0175.41
4.3.00.0770.0235.41

preferences:
139.71 ms | 1394 KiB | 7 Q