3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = 'aaa' $location = explode(',', $test); var_dump($location);

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.6.80.0030.04020.37
5.6.70.4500.04020.51
5.5.240.0270.08320.32
5.4.400.1730.06718.72
5.4.390.1100.06718.53
5.4.380.1200.08318.84
5.4.370.1270.06318.50
5.4.360.1470.06318.63
5.4.350.0930.06018.79
5.4.340.1130.05318.51
5.4.320.1100.06318.81
5.4.310.1230.07718.75
5.4.300.4430.06018.76
5.4.290.1300.05318.50
5.4.280.4970.06318.72
5.4.270.1430.06718.75
5.4.260.0930.05718.61
5.4.250.1500.04018.55
5.4.240.1370.04318.74
5.4.230.1430.04318.74
5.4.220.1130.07018.54
5.4.210.1070.06018.52
5.4.200.1170.05016.62
5.4.190.1200.05018.57
5.4.180.1000.06318.76
5.4.170.0700.06018.70
5.4.160.0270.06318.81
5.4.150.0800.07018.59
5.4.140.1430.06716.30
5.4.130.1300.07316.34
5.4.120.1270.05716.25
5.4.110.1330.05316.42
5.4.100.1230.07016.18
5.4.90.1030.04716.22
5.4.80.1270.04316.23
5.4.70.1200.06016.30
5.4.60.1430.06716.20
5.4.50.1130.05716.41
5.4.40.0830.05016.41
5.4.30.1300.05716.14
5.4.20.1300.06716.19
5.4.10.1170.05316.39
5.4.00.1200.06315.68
5.3.290.1170.05714.58
5.3.280.1030.07714.55
5.3.270.1170.06014.70
5.3.260.1070.07014.50
5.3.250.1100.05714.55
5.3.240.0900.07014.59
5.3.230.1200.05314.55
5.3.220.1400.06314.50
5.3.210.1400.06714.66
5.3.200.1230.05314.67
5.3.190.0870.06314.56
5.3.180.1170.05314.56
5.3.170.1170.07014.56
5.3.160.1130.05714.55
5.3.150.1230.07014.59
5.3.140.0830.05014.66
5.3.130.0900.05714.54
5.3.120.1200.05314.60
5.3.110.0900.06314.64
5.3.100.1370.05714.06
5.3.90.1270.05714.00
5.3.80.1430.05014.01
5.3.70.1330.06314.00
5.3.60.1370.07313.93
5.3.50.1300.05713.94
5.3.40.1400.06313.91
5.3.30.1030.05013.94
5.3.20.1100.03713.60
5.3.10.0800.06013.59
5.3.00.1300.06713.60
5.2.170.1100.06311.13
5.2.160.1100.05011.20
5.2.150.1030.05011.14
5.2.140.1130.04311.17
5.2.130.1200.05311.10
5.2.120.0930.04311.03
5.2.110.0900.04011.06
5.2.100.1170.05311.26
5.2.90.0900.04711.06
5.2.80.1170.05011.05
5.2.70.1000.04311.25
5.2.60.1170.04711.03
5.2.50.1170.05711.05
5.2.40.1030.04010.96
5.2.30.0930.04011.13
5.2.20.1000.05011.01
5.2.10.0900.04010.82
5.2.00.0730.04710.82
5.1.60.0900.04710.02
5.1.50.1030.0379.99
5.1.40.0670.0409.98
5.1.30.0500.04310.37
5.1.20.0900.03310.33
5.1.10.0770.05010.10
5.1.00.0770.05010.16
5.0.50.0470.0308.61
5.0.40.0400.0378.46
5.0.30.0270.0578.25
5.0.20.0400.0238.17
5.0.10.0500.0278.34
5.0.00.0200.0478.20
4.4.90.0270.0235.88
4.4.80.0330.0205.87
4.4.70.0300.0235.89
4.4.60.0430.0235.94
4.4.50.0430.0275.87
4.4.40.0470.0435.88
4.4.30.0370.0205.91
4.4.20.0300.0235.97
4.4.10.0400.0235.97
4.4.00.0430.0305.90
4.3.110.0400.0235.88
4.3.100.0270.0205.85
4.3.90.0200.0235.84
4.3.80.0230.0405.89
4.3.70.0370.0205.81
4.3.60.0370.0205.80
4.3.50.0370.0205.87
4.3.40.0330.0275.82
4.3.30.0230.0204.57
4.3.20.0100.0304.53
4.3.10.0170.0274.61
4.3.00.0000.0236.88

preferences:
147.34 ms | 1394 KiB | 7 Q