3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(is_numeric('123')); var_dump(is_numeric(123)); var_dump(is_numeric(true));

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.60.0070.00716.49
8.3.50.0100.00316.22
8.3.40.0090.00918.48
8.3.30.0070.00718.59
8.3.20.0000.00820.30
8.3.10.0080.00021.90
8.3.00.0080.00317.65
8.2.180.0140.00718.21
8.2.170.0100.00722.96
8.2.160.0030.01020.50
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0000.00820.97
8.2.120.0040.00426.35
8.2.110.0000.01020.93
8.2.100.0080.00417.97
8.2.90.0070.00019.09
8.2.80.0000.00817.97
8.2.70.0050.00317.25
8.2.60.0000.00817.80
8.2.50.0040.00418.10
8.2.40.0040.00420.64
8.2.30.0000.00920.72
8.2.20.0040.00417.85
8.2.10.0000.00817.81
8.2.00.0070.00017.84
8.1.280.0120.00425.92
8.1.270.0040.00423.74
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00324.05
8.1.230.0100.00318.91
8.1.220.0050.00217.74
8.1.210.0030.00518.77
8.1.200.0060.00317.10
8.1.190.0040.00417.23
8.1.180.0030.00618.10
8.1.170.0000.00818.46
8.1.160.0050.00318.86
8.1.150.0050.00220.47
8.1.140.0050.00319.45
8.1.130.0000.00718.76
8.1.120.0000.00717.38
8.1.110.0040.00417.21
8.1.100.0080.00017.28
8.1.90.0040.00417.22
8.1.80.0040.00417.36
8.1.70.0080.00017.23
8.1.60.0060.00317.43
8.1.50.0070.00017.27
8.1.40.0040.00417.36
8.1.30.0040.00417.50
8.1.20.0000.01117.45
8.1.10.0020.00517.41
8.1.00.0040.00417.20
8.0.300.0040.00418.77
8.0.290.0060.00316.63
8.0.280.0030.00318.31
8.0.270.0050.00317.16
8.0.260.0030.00316.63
8.0.250.0000.00616.80
8.0.240.0040.00416.82
8.0.230.0030.00516.46
8.0.220.0030.00316.74
8.0.210.0030.00316.78
8.0.200.0030.00316.78
8.0.190.0000.01016.82
8.0.180.0040.00416.68
8.0.170.0000.00716.82
8.0.160.0060.00316.77
8.0.150.0030.00316.77
8.0.140.0000.00716.65
8.0.130.0030.00313.28
8.0.120.0040.00416.71
8.0.110.0000.00716.75
8.0.100.0000.00716.74
8.0.90.0070.00016.82
8.0.80.0100.00716.77
8.0.70.0050.00316.70
8.0.60.0000.00716.79
8.0.50.0000.00716.86
8.0.30.0100.00816.92
8.0.20.0060.01217.40
8.0.10.0040.00416.71
8.0.00.0110.00616.72
7.4.330.0000.00515.55
7.4.320.0040.00416.38
7.4.300.0000.00616.37
7.4.290.0070.00316.38
7.4.280.0080.00016.47
7.4.270.0070.00016.38
7.4.260.0050.00013.11
7.4.250.0000.00816.38
7.4.240.0000.00716.49
7.4.230.0000.00716.57
7.4.220.0130.01316.50
7.4.210.0030.01016.39
7.4.200.0030.00316.47
7.4.160.0080.01016.29
7.4.150.0110.00817.40
7.4.140.0110.00917.86
7.4.130.0160.00816.27
7.4.120.0080.01016.37
7.4.110.0040.01216.37
7.4.100.0060.01816.45
7.4.90.0130.00316.44
7.4.80.0060.01119.39
7.4.70.0060.01316.39
7.4.60.0130.00316.30
7.4.50.0000.01516.18
7.4.40.0060.01016.30
7.4.30.0090.00616.40
7.4.00.0030.01014.72
7.3.330.0050.00013.04
7.3.320.0000.00512.94
7.3.310.0050.00216.04
7.3.300.0050.00316.04
7.3.290.0110.00716.17
7.3.280.0070.01116.09
7.3.270.0090.00917.40
7.3.260.0140.00316.27
7.3.250.0060.01116.15
7.3.240.0070.01216.27
7.3.230.0080.01316.40
7.3.210.0100.00716.37
7.3.200.0070.01416.26
7.3.190.0120.00416.22
7.3.180.0100.01316.36
7.3.170.0050.01016.47
7.3.160.0080.00816.17
7.3.120.0080.00814.81
7.3.110.0100.00614.73
7.3.100.0100.00714.78
7.3.90.0030.00714.71
7.3.80.0070.00714.39
7.3.70.0120.00314.66
7.3.60.0000.00814.73
7.3.50.0030.01414.61
7.3.40.0090.00614.60
7.3.30.0000.00914.58
7.3.20.0030.00916.52
7.3.10.0060.00716.51
7.3.00.0100.00316.54
7.2.330.0070.01116.19
7.2.320.0060.01416.19
7.2.310.0090.00916.22
7.2.300.0100.00716.45
7.2.290.0050.01016.28
7.2.240.0030.01615.04
7.2.230.0030.00914.93
7.2.220.0030.01014.96
7.2.210.0030.01314.94
7.2.200.0040.01114.70
7.2.190.0050.00514.74
7.2.180.0060.00914.87
7.2.170.0070.01014.90
7.2.160.0060.00914.95
7.2.150.0070.01116.59
7.2.140.0000.01416.27
7.2.130.0070.00616.74
7.2.120.0100.00716.58
7.2.110.0070.00816.67
7.2.100.0060.01016.53
7.2.90.0210.00716.21
7.2.80.0100.00716.24
7.2.70.0110.00616.29
7.2.60.0080.00616.27
7.2.50.0050.01016.32
7.2.40.0060.01116.32
7.2.30.0600.00516.42
7.2.20.0670.00716.37
7.2.10.0110.00716.27
7.2.00.0080.00616.27
7.1.330.0120.00615.62
7.1.320.0030.01315.77
7.1.310.0060.01015.68
7.1.300.0070.01015.55
7.1.290.0090.00615.73
7.1.280.0060.01015.32
7.1.270.0060.00315.68
7.1.260.0030.00715.68
7.1.250.0060.00715.60
7.1.240.0030.00915.66
7.1.230.0150.00015.71
7.1.220.0030.00715.54
7.1.210.0110.00614.72
7.1.200.0110.00614.65
7.1.190.0110.00814.81
7.1.180.0190.00714.67
7.1.170.0400.00514.68
7.1.160.0070.00614.66
7.1.150.0070.00714.53
7.1.140.1010.00514.65
7.1.130.0100.00314.73
7.1.120.0060.00914.57
7.1.110.0090.00514.62
7.1.100.0560.00214.61
7.1.90.0780.00514.72
7.1.80.0110.00414.49
7.1.70.0110.00214.67
7.1.60.0190.00823.85
7.1.50.0190.00923.71
7.1.40.0670.00523.51
7.1.30.0620.01023.82
7.1.20.0170.00823.65
7.1.10.0530.00514.60
7.1.00.0080.00614.58
7.0.330.0060.00315.29
7.0.320.0080.00415.11
7.0.310.0090.00414.34
7.0.300.0090.00614.10
7.0.290.1000.00614.33
7.0.280.0430.00614.36
7.0.270.0330.00814.34
7.0.260.0320.00814.41
7.0.250.0140.00614.27
7.0.240.0120.00814.38
7.0.230.0460.00214.35
7.0.220.0140.00514.32
7.0.210.0480.00814.44
7.0.200.0290.01014.40
7.0.190.0240.00414.36
7.0.180.0780.00314.10
7.0.170.0210.00514.30
7.0.160.0110.00614.29
7.0.150.0130.00414.42
7.0.140.0400.00914.30
7.0.130.0480.00114.40
7.0.120.0260.00714.54
7.0.110.0470.00414.47
7.0.100.0380.00714.10
7.0.90.0080.00514.48
7.0.80.0510.00514.17
7.0.70.0310.00614.36
7.0.60.0140.00414.45
7.0.50.0100.00714.23
7.0.40.0210.00313.39
7.0.30.0100.00313.35
7.0.20.0090.01013.41
7.0.10.0620.00813.24
7.0.00.0090.00613.38
5.6.380.0150.00013.98

preferences:
34.85 ms | 400 KiB | 5 Q