3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input1 = "hello";$input2 = "hello,there"; var_dump( explode( ',', $input1 ) ); var_dump( explode( ',', $input2 ) ); ?>

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.0030.04319.09
5.4.320.0130.03718.95
5.4.310.0030.03719.06
5.4.300.0300.04718.84
5.4.290.0100.07018.86
5.4.280.0130.04019.24
5.4.270.0170.05018.99
5.4.260.0330.07019.22
5.4.250.0200.03719.21
5.4.240.0300.03719.13
5.4.230.0130.05719.05
5.4.220.0200.03719.23
5.4.210.0230.04319.23
5.4.200.0100.03719.18
5.4.190.0070.04319.15
5.4.180.0170.03318.94
5.4.170.0100.04318.88
5.4.160.0230.05319.06
5.4.150.0230.03319.29
5.4.140.0100.04016.29
5.4.130.0130.03716.34
5.4.120.0200.03016.49
5.4.110.0200.03316.56
5.4.100.0170.04316.35
5.4.90.0230.02716.27
5.4.80.0130.03316.44
5.4.70.0170.03316.35
5.4.60.0170.04016.38
5.4.50.0200.03016.42
5.4.40.0170.03716.33
5.4.30.0130.03316.52
5.4.20.0230.02716.42
5.4.10.0100.04016.38
5.4.00.0170.03315.80
5.3.290.0130.06014.65
5.3.280.0070.04714.60
5.3.270.0300.03314.48
5.3.260.0070.04314.55
5.3.250.0200.04314.70
5.3.240.0270.02714.45
5.3.230.0100.04314.43
5.3.220.0330.03014.40
5.3.210.0100.04014.52
5.3.200.0170.03314.53
5.3.190.0170.04314.51
5.3.180.0130.03714.41
5.3.170.0130.03714.41
5.3.160.0130.03714.52
5.3.150.0130.03314.42
5.3.140.0100.03714.51
5.3.130.0130.05714.64
5.3.120.0030.03714.41
5.3.110.0030.03714.40
5.3.100.0030.06313.97
5.3.90.1570.03714.01
5.3.80.1500.04013.80
5.3.70.1630.03014.11
5.3.60.1630.03713.99
5.3.50.1930.03713.88
5.3.40.1730.03713.98
5.3.30.1470.03313.76
5.3.20.1570.03713.64
5.3.10.1570.03713.60
5.3.00.1700.04013.69
5.2.170.1230.03011.08
5.2.160.1630.02711.30
5.2.150.1370.02711.20
5.2.140.1330.03710.99
5.2.130.0430.03010.99
5.2.120.0100.02010.95
5.2.110.0000.03711.00
5.2.100.0000.03011.26
5.2.90.1000.02711.15
5.2.80.0230.03310.95
5.2.70.0130.02711.17
5.2.60.0230.04010.88
5.2.50.0130.03311.09
5.2.40.0130.02310.88
5.2.30.0130.03310.83
5.2.20.0130.02310.98
5.2.10.0100.02710.91
5.2.00.0070.03010.62
5.1.60.0100.0309.94
5.1.50.0070.0279.88
5.1.40.0130.0209.89
5.1.30.0100.02710.20
5.1.20.0030.03010.46
5.1.10.0130.0309.95
5.1.00.0100.03310.04
5.0.50.0100.0178.52
5.0.40.0030.0238.30
5.0.30.0070.0308.34
5.0.20.0100.0238.10
5.0.10.0070.0178.30
5.0.00.0070.0308.04
4.4.90.0100.0137.64
4.4.80.0070.0177.64
4.4.70.0230.0137.64
4.4.60.0030.0277.64
4.4.50.0200.0137.64
4.4.40.0030.0277.64
4.4.30.0070.0137.64
4.4.20.0070.0137.64
4.4.10.0030.0177.64
4.4.00.0070.0277.64
4.3.110.0030.0177.64
4.3.100.0000.0177.64
4.3.90.0030.0137.64
4.3.80.0070.0277.64
4.3.70.0000.0207.64
4.3.60.0100.0077.64
4.3.50.0000.0137.64
4.3.40.0030.0277.64
4.3.30.0000.0177.64
4.3.20.0070.0137.64
4.3.10.0000.0177.64
4.3.00.0000.0137.64

preferences:
140.95 ms | 1394 KiB | 7 Q