3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo{ static $bar = array('strlen'); } echo foo::{'bar'}[0](123);

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.350.0230.05018.99
5.4.340.0230.06719.22
5.4.320.0300.07018.88
5.4.310.0130.05019.09
5.4.300.0200.04019.31
5.4.290.0200.08019.30
5.4.280.0230.05019.32
5.4.270.0330.05019.06
5.4.260.0200.06718.95
5.4.250.0300.06719.19
5.4.240.0230.07318.94
5.4.230.0270.07019.13
5.4.220.0130.06019.06
5.4.210.0170.07319.22
5.4.200.0200.03719.16
5.4.190.0270.06319.21
5.4.180.0200.05718.84
5.4.170.0200.07319.10
5.4.160.0230.06718.96
5.4.150.0230.06019.32
5.4.140.0230.07316.73
5.4.130.0300.06316.38
5.4.120.0200.05716.54
5.4.110.0200.04716.51
5.4.100.0230.05316.52
5.4.90.0100.07316.61
5.4.80.0200.07716.25
5.4.70.0270.04316.59
5.4.60.0230.04316.52
5.4.50.0230.07316.34
5.4.40.0370.05716.54
5.4.30.0300.04016.37
5.4.20.0230.04016.51
5.4.10.0230.07016.51
5.4.00.0330.03715.75
5.3.290.0170.07714.73
5.3.280.0230.06314.81
5.3.270.0200.08014.62
5.3.260.0200.05714.65
5.3.250.0230.04314.61
5.3.240.0270.06314.70
5.3.230.0230.05714.57
5.3.220.0270.07014.46
5.3.210.0270.06014.78
5.3.200.0300.04014.48
5.3.190.0200.05314.61
5.3.180.0270.04314.59
5.3.170.0230.07014.46
5.3.160.0230.04314.46
5.3.150.0170.07714.46
5.3.140.0270.03714.57
5.3.130.0270.07014.52
5.3.120.0230.07014.45
5.3.110.0270.03014.56
5.3.100.0270.07013.90
5.3.90.0270.05713.93
5.3.80.0200.04014.02
5.3.70.0230.07313.91
5.3.60.0200.04314.00
5.3.50.0230.03313.85
5.3.40.0200.04713.95
5.3.30.0200.07013.91
5.3.20.0200.05713.61
5.3.10.0130.05313.88
5.3.00.0200.07313.71
5.2.170.0070.03712.14
5.2.160.0170.02712.14
5.2.150.0170.06012.14
5.2.140.0200.02712.14
5.2.130.0170.06312.14
5.2.120.0200.03712.14
5.2.110.0300.04012.14
5.2.100.0170.04012.14
5.2.90.0130.05712.14
5.2.80.0170.06012.14
5.2.70.0270.02712.14
5.2.60.0170.04312.14
5.2.50.0170.05312.14
5.2.40.0200.05712.14
5.2.30.0130.06012.14
5.2.20.0200.04712.14
5.2.10.0200.04012.14
5.2.00.0170.03312.14
5.1.60.0170.05312.14
5.1.50.0200.04712.14
5.1.40.0170.04312.14
5.1.30.0170.03012.14
5.1.20.0230.05012.14
5.1.10.0200.03712.14
5.1.00.0100.06012.14
5.0.50.0070.03312.14
5.0.40.0130.04012.14
5.0.30.0100.04712.14
5.0.20.0100.03312.14
5.0.10.0130.03312.14
5.0.00.0100.05312.14
4.4.90.0070.02712.14
4.4.80.0070.03712.14
4.4.70.0070.02012.14
4.4.60.0070.02012.14
4.4.50.0100.01712.14
4.4.40.0030.05012.14
4.4.30.0070.04012.14
4.4.20.0100.03012.14
4.4.10.0100.02312.14
4.4.00.0100.03312.14
4.3.110.0100.02012.14
4.3.100.0030.04012.14
4.3.90.0170.03012.14
4.3.80.0070.05712.14
4.3.70.0070.01312.14
4.3.60.0100.01712.14
4.3.50.0100.02012.14
4.3.40.0100.02712.14
4.3.30.0030.02012.14
4.3.20.0030.04012.14
4.3.10.0030.02012.14
4.3.00.0000.02312.14

preferences:
142.72 ms | 1394 KiB | 7 Q