3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tests = array(    "42",    1337,    0x539,    02471,    0b10100111001,    1337e0,    "not numeric",    array(),    9.1); echo is_numeric($tests);

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.320.0400.06719.22
5.4.310.0530.06019.00
5.4.300.0330.04019.24
5.4.290.0500.02719.06
5.4.280.0400.04019.19
5.4.270.0400.06719.08
5.4.260.0370.04019.20
5.4.250.0430.03319.05
5.4.240.0430.03719.24
5.4.230.0370.05019.22
5.4.220.0430.06719.14
5.4.210.0400.04319.06
5.4.200.0330.04018.99
5.4.190.0470.05319.18
5.4.180.0470.03718.93
5.4.170.0470.05719.15
5.4.160.0370.03319.11
5.4.150.0630.05319.06
5.4.140.0400.03716.51
5.4.130.0670.03016.30
5.4.120.0430.05016.45
5.4.110.0330.03716.19
5.4.100.0400.03016.55
5.4.90.0400.03716.51
5.4.80.0370.04016.39
5.4.70.0530.06316.39
5.4.60.0570.06016.55
5.4.50.0430.04016.51
5.4.40.0430.05016.53
5.4.30.0470.04016.28
5.4.20.0600.05716.26
5.4.10.0530.03716.16
5.4.00.0500.03316.13
5.3.290.0470.06714.52
5.3.280.0530.05714.58
5.3.270.0570.06314.54
5.3.260.0400.03714.46
5.3.250.0400.03714.44
5.3.240.0430.03714.54
5.3.230.0500.06314.62
5.3.220.0430.03714.50
5.3.210.0400.04314.59
5.3.200.0370.03314.42
5.3.190.0470.05714.41
5.3.180.0500.06714.66
5.3.170.0500.06714.44
5.3.160.0470.06014.41
5.3.150.0530.05014.51
5.3.140.0500.04014.42
5.3.130.0600.06314.53
5.3.120.0630.05714.41
5.3.110.0530.03714.57
5.3.100.0470.03713.92
5.3.90.0470.03313.86
5.3.80.0600.03713.85
5.3.70.0470.03713.82
5.3.60.0470.04713.84
5.3.50.0700.06713.80
5.3.40.0470.03313.89
5.3.30.0470.04013.80
5.3.20.0530.06713.68
5.3.10.0470.04713.59
5.3.00.0500.02713.48
5.2.170.0400.03011.08
5.2.160.0430.03711.08
5.2.150.0430.05711.03
5.2.140.0530.04711.00
5.2.130.0400.03310.94
5.2.120.0330.03010.94
5.2.110.0330.03011.01
5.2.100.0330.03011.04
5.2.90.0470.05311.04
5.2.80.0470.04311.14
5.2.70.0200.02710.93
5.2.60.0170.03311.00
5.2.50.0100.03311.02
5.2.40.0100.03710.89
5.2.30.0100.03010.82
5.2.20.0100.03310.86
5.2.10.0470.02310.81
5.2.00.0230.02010.78
5.1.60.0130.02310.08
5.1.50.0130.0279.89
5.1.40.0200.0179.95
5.1.30.0100.02710.27
5.1.20.0130.02310.51
5.1.10.0100.0309.94
5.1.00.0100.03010.04
5.0.50.0000.0278.53
5.0.40.0070.0238.38
5.0.30.0070.0338.16
5.0.20.0100.0208.17
5.0.10.0000.0238.07
5.0.00.0030.0338.16
4.4.90.0100.0137.72
4.4.80.0070.0137.72
4.4.70.0030.0177.72
4.4.60.0100.0207.72
4.4.50.0100.0177.72
4.4.40.0070.0237.72
4.4.30.0030.0177.72
4.4.20.0070.0137.72
4.4.10.0070.0177.72
4.4.00.0130.0207.72
4.3.110.0170.0137.72
4.3.100.0070.0177.72
4.3.90.0000.0207.72
4.3.80.0070.0237.72
4.3.70.0070.0137.72
4.3.60.0030.0207.72
4.3.50.0070.0137.72
4.3.40.0070.0207.72
4.3.30.0030.0307.72
4.3.20.0000.0177.72
4.3.10.0070.0137.72
4.3.00.0030.0137.72

preferences:
143.26 ms | 1394 KiB | 7 Q