3v4l.org

run code in 300+ PHP versions simultaneously
<?php function i($n){return intval($n);} $b = array_walk(array("1","2"),"i"); var_dump($b);

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.0170.00318.71
8.3.30.0140.00019.22
8.3.20.0040.00420.33
8.3.10.0030.00522.09
8.3.00.0070.00022.42
8.2.170.0060.00922.96
8.2.160.0100.00319.22
8.2.150.0060.00324.18
8.2.140.0000.00824.66
8.2.130.0060.01226.16
8.2.120.0000.00820.98
8.2.110.0030.00622.31
8.2.100.0100.00018.50
8.1.270.0040.00422.20
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0040.00718.43
8.1.230.0100.00018.49
5.4.260.0370.07319.05
5.4.250.0430.05318.85
5.4.240.0300.03719.05
5.4.230.0330.07318.91
5.4.220.0530.06018.95
5.4.210.0430.04018.95
5.4.200.0430.06019.07
5.4.190.0430.07019.05
5.4.180.0330.06319.15
5.4.170.0330.06718.95
5.4.160.0270.05718.83
5.4.150.0370.03019.09
5.4.140.0470.06316.37
5.4.130.0400.06016.48
5.4.120.0400.05316.54
5.4.110.0430.06016.45
5.4.100.0400.06716.39
5.4.90.0400.04016.40
5.4.80.0270.03716.56
5.4.70.0230.04316.51
5.4.60.0270.04016.43
5.4.50.0430.05016.53
5.4.40.0270.04016.54
5.4.30.0300.04016.53
5.4.20.0300.07316.42
5.4.10.0300.07316.41
5.4.00.0430.05015.77
5.3.280.0370.07314.61
5.3.270.0530.05714.51
5.3.260.0330.04014.53
5.3.250.0300.03714.59
5.3.240.0400.04314.59
5.3.230.0300.07314.62
5.3.220.0370.05014.62
5.3.210.0400.06714.48
5.3.200.0500.05714.72
5.3.190.0400.06014.64
5.3.180.0470.03714.72
5.3.170.0330.05714.57
5.3.160.0300.06714.46
5.3.150.0270.04314.60
5.3.140.0370.06014.58
5.3.130.0300.07314.55
5.3.120.0270.05014.47
5.3.110.0330.06014.55
5.3.100.0270.05314.01
5.3.90.0430.06714.24
5.3.80.0330.04314.09
5.3.70.0400.06714.02
5.3.60.0300.04713.90
5.3.50.0330.06013.86
5.3.40.0330.07314.02
5.3.30.0430.05714.12
5.3.20.0400.06313.80
5.3.10.0330.04013.55
5.3.00.0330.07013.54
5.2.170.0330.03311.14
5.2.160.0270.03711.22
5.2.150.0300.06011.19
5.2.140.0330.06011.14
5.2.130.0330.02011.03
5.2.120.0370.05311.02
5.2.110.0270.06311.00
5.2.100.0370.05311.02
5.2.90.0270.04011.07
5.2.80.0370.04711.02
5.2.70.0330.05710.99
5.2.60.0230.04310.96
5.2.50.0270.02711.02
5.2.40.0200.03011.07
5.2.30.0200.03711.08
5.2.20.0130.04310.88
5.2.10.0170.05011.08
5.2.00.0230.05010.73
5.1.60.0330.0239.89
5.1.50.0270.04710.00
5.1.40.0200.03310.20
5.1.30.0230.02310.27
5.1.20.0270.02010.32
5.1.10.0270.04010.06
5.1.00.0270.04710.04
5.0.50.0170.0408.52
5.0.40.0130.0438.28
5.0.30.0230.0608.44
5.0.20.0170.0438.36
5.0.10.0130.0338.06
5.0.00.0130.0538.13
4.4.90.0170.0137.40
4.4.80.0100.0177.40
4.4.70.0130.0337.40
4.4.60.0100.0407.40
4.4.50.0130.0337.40
4.4.40.0170.0437.40
4.4.30.0130.0277.40
4.4.20.0070.0207.40
4.4.10.0170.0307.40
4.4.00.0100.0337.40
4.3.110.0130.0337.40
4.3.100.0200.0277.40
4.3.90.0130.0337.40
4.3.80.0100.0337.40
4.3.70.0170.0307.40
4.3.60.0170.0277.40
4.3.50.0130.0337.40
4.3.40.0170.0377.40
4.3.30.0030.0307.40
4.3.20.0000.0307.40
4.3.10.0070.0277.40
4.3.00.0030.0277.40

preferences:
37.44 ms | 400 KiB | 5 Q