3v4l.org

run code in 300+ PHP versions simultaneously
<?php $h = 'U+00A0'; echo hexdec($h) . PHP_EOL; $h = '0x00A0'; echo hexdec($h) . PHP_EOL; $h = '00A0'; echo hexdec($h) . PHP_EOL;

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.1rc30.0030.00616.80
8.1rc20.0040.00417.09
8.1rc10.0000.00716.88
8.0.130.0000.00513.41
8.0.120.0030.00316.83
8.0.110.0000.00716.95
8.0.100.0000.00716.79
8.0.90.0060.00316.89
8.0.80.0110.00316.91
8.0.70.0000.00716.89
8.0.60.0000.00716.79
8.0.50.0000.00816.89
8.0.30.0100.00716.79
8.0.20.0120.00817.18
8.0.10.0000.00716.79
8.0.00.0160.00616.66
7.4.260.0000.00613.27
7.4.250.0000.00816.41
7.4.240.0040.00416.54
7.4.230.0070.00016.29
7.4.220.0050.00216.43
7.4.210.0160.00716.50
7.4.200.0000.00716.57
7.4.130.0130.00516.54
7.4.120.0070.01016.53
7.4.110.0170.00816.41
7.4.100.0090.01416.58
7.4.90.0030.01616.35
7.4.80.0110.00619.39
7.4.70.0070.01016.46
7.4.60.0100.00616.43
7.4.50.0070.00716.21
7.4.40.0110.00716.59
7.4.10.0090.00914.87
7.4.00.0070.00914.85
7.3.330.0000.00716.17
7.3.320.0000.00613.05
7.3.310.0030.00316.26
7.3.300.0000.00716.21
7.3.290.0060.00016.23
7.3.260.0140.00616.21
7.3.240.0100.00816.31
7.3.230.0130.00316.49
7.3.210.0040.01416.28
7.3.200.0130.01016.18
7.3.190.0160.00816.52
7.3.180.0070.01016.20
7.3.170.0030.01516.47
7.3.160.0120.00316.26
7.3.130.0040.01514.87
7.3.120.0130.00615.04
7.3.110.0070.01014.83
7.3.100.0050.00714.83
7.3.90.0050.01015.01
7.3.80.0040.00714.70
7.3.70.0100.00414.81
7.3.60.0020.00814.83
7.3.50.0100.00514.80
7.3.40.0070.01014.78
7.3.30.0080.00814.71
7.3.20.0070.00715.67
7.3.10.0070.00915.64
7.3.00.0080.00615.58
7.2.330.0070.01016.29
7.2.320.0060.01316.29
7.2.310.0090.00616.27
7.2.300.0090.00816.56
7.2.290.0120.00416.60
7.2.260.0040.01414.99
7.2.250.0070.01115.05
7.2.240.0050.01014.97
7.2.230.0030.01215.11
7.2.220.0090.00715.05
7.2.210.0080.00514.79
7.2.200.0080.00314.75
7.2.190.0020.01214.93
7.2.180.0030.01314.83
7.2.170.0120.00714.80
7.2.160.0070.00615.09
7.2.150.0050.01115.79
7.2.140.0120.00515.81
7.2.130.0130.00315.82
7.2.120.0100.00915.91
7.2.110.0040.00815.98
7.2.100.0090.00515.82
7.2.90.0050.00715.84
7.2.80.0040.00915.86
7.2.70.0080.00516.03
7.2.60.0100.00715.95
7.2.50.0090.00515.79
7.2.40.0020.01115.81
7.2.30.0030.01015.92
7.2.20.0150.00915.77
7.2.10.0040.01115.91
7.2.00.0030.01015.96
7.1.330.0090.00514.76
7.1.320.0030.01114.83
7.1.310.0030.01114.77
7.1.300.0040.00914.72
7.1.290.0110.00314.78
7.1.280.0090.00914.71
7.1.270.0070.00714.68
7.1.260.0060.01014.78
7.1.250.0090.00914.81
7.1.240.0090.00915.70
7.1.230.0050.00515.59
7.1.220.0040.01115.77
7.1.210.0030.01315.64
7.1.200.0080.00415.68
7.1.190.0040.00815.73
7.1.180.0090.00615.55
7.1.170.0030.01315.71
7.1.160.0030.00915.64
7.1.150.0040.00415.70
7.1.140.0100.00315.37
7.1.130.0000.00815.50
7.1.120.0040.01115.50
7.1.110.0030.01015.79
7.1.100.0060.00615.88
7.1.90.0040.00415.82
7.1.80.0070.00315.65
7.1.70.0090.00015.31
7.1.60.0040.00815.82
7.1.50.0000.01415.70
7.1.40.0050.00315.62
7.1.30.0030.00915.36
7.1.20.0000.01415.50
7.1.10.0070.00715.71
7.1.00.0110.00415.84

preferences:
12.69 ms | 455 KiB | 5 Q