3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hex = 0x7af; $b = is_numeric($hex); 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.60.0040.01418.18
8.3.50.0100.01016.38
8.3.40.0090.00618.67
8.3.30.0090.00618.56
8.3.20.0040.00418.59
8.3.10.0000.00823.61
8.3.00.0040.00420.68
8.2.180.0060.01318.00
8.2.170.0100.00722.96
8.2.160.0030.01022.30
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0050.00319.83
8.2.120.0050.00326.35
8.2.110.0070.00320.47
8.2.100.0080.00417.72
8.2.90.0040.00417.63
8.2.80.0060.00318.73
8.2.70.0000.00817.92
8.2.60.0000.00718.03
8.2.50.0080.00018.10
8.2.40.0080.00020.94
8.2.30.0050.00219.19
8.2.20.0030.00518.06
8.2.10.0050.00318.05
8.2.00.0050.00318.01
8.1.280.0120.00625.92
8.1.270.0050.00323.99
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0070.00322.01
8.1.230.0000.01117.82
8.1.220.0000.00917.74
8.1.210.0080.00018.77
8.1.200.0100.00017.23
8.1.190.0050.00317.23
8.1.180.0050.00818.10
8.1.170.0000.00818.53
8.1.160.0040.00418.75
8.1.150.0000.00718.70
8.1.140.0000.00722.13
8.1.130.0030.00317.37
8.1.120.0000.00817.41
8.1.110.0080.00017.42
8.1.100.0080.00017.32
8.1.90.0000.00817.39
8.1.80.0070.00017.29
8.1.70.0030.00317.36
8.1.60.0000.00917.39
8.1.50.0040.00417.35
8.1.40.0020.00517.50
8.1.30.0040.00417.61
8.1.20.0050.00317.52
8.1.10.0040.00417.40
8.1.00.0040.00417.32
8.0.300.0030.00518.77
8.0.290.0050.00316.63
8.0.280.0000.00718.38
8.0.270.0000.00717.11
8.0.260.0030.00316.79
8.0.250.0030.00316.88
8.0.240.0030.00316.82
8.0.230.0000.00716.71
8.0.220.0000.00816.72
8.0.210.0070.00016.80
8.0.200.0070.00016.88
8.0.190.0050.00316.79
8.0.180.0000.00816.86
8.0.170.0060.00316.84
8.0.160.0070.00016.74
8.0.150.0040.00416.65
8.0.140.0000.00816.82
8.0.130.0000.00513.30
8.0.120.0000.00716.66
8.0.110.0040.00416.65
8.0.100.0040.00416.80
8.0.90.0000.00716.86
8.0.80.0110.00416.83
8.0.70.0040.00416.79
8.0.60.0000.00716.63
8.0.50.0000.00716.74
8.0.30.0110.00816.96
8.0.20.0150.00317.40
8.0.10.0000.00816.94
8.0.00.0120.01016.49
7.4.330.0050.00015.55
7.4.320.0050.00316.50
7.4.300.0000.00616.42
7.4.290.0030.00316.54
7.4.280.0050.00316.44
7.4.270.0030.00416.63
7.4.260.0110.00016.36
7.4.250.0020.00516.48
7.4.240.0030.00516.53
7.4.230.0080.00016.24
7.4.220.0040.00416.28
7.4.210.0090.00816.44
7.4.200.0070.00016.54
7.4.160.0120.00616.41
7.4.140.0120.00617.86
7.4.130.0170.00316.45
7.4.120.0110.01016.39
7.4.110.0090.00916.33
7.4.100.0060.01116.41
7.4.90.0060.01516.30
7.4.80.0070.01019.39
7.4.70.0120.00616.29
7.4.60.0140.00316.28
7.4.50.0130.00316.41
7.4.40.0030.01316.41
7.4.00.0060.01015.04
7.3.330.0000.00513.01
7.3.320.0020.00212.88
7.3.310.0030.00616.07
7.3.300.0000.00616.17
7.3.290.0070.00016.13
7.3.280.0100.00316.13
7.3.260.0080.01116.32
7.3.240.0100.01116.26
7.3.230.0110.00816.38
7.3.210.0130.00316.37
7.3.200.0000.01716.27
7.3.190.0070.01116.23
7.3.180.0070.01016.19
7.3.170.0070.01416.39
7.3.160.0090.00616.34
7.2.330.0110.00716.41
7.2.320.0090.00916.50
7.2.310.0170.00016.51
7.2.300.0220.00016.58
7.2.290.0090.00916.30
7.2.110.0100.01014.29
7.2.100.1190.00614.40
7.2.90.1000.01014.33
7.2.80.1240.00614.33
7.2.70.1460.00814.57
7.2.60.0680.00614.71
7.2.50.0730.00814.80
7.2.40.0850.01414.77
7.2.30.0510.01214.74
7.2.20.1070.00614.76
7.2.10.0480.01114.45
7.2.00.0590.00214.73
7.1.230.1190.00513.62
7.1.220.0550.00513.60
7.1.210.0530.00513.53
7.1.200.1300.00513.70
7.1.190.0560.00313.71
7.1.180.1160.00413.63
7.1.170.0770.00613.70
7.1.160.1130.01313.79
7.1.150.0920.00613.53
7.1.140.1160.00713.55
7.1.130.0850.00613.58
7.1.120.0450.00613.50
7.1.110.0480.00313.62
7.1.100.1090.00313.56
7.1.90.0440.00713.46
7.1.80.0490.01013.61
7.1.70.0490.00313.53
7.1.60.0570.00713.69
7.1.50.0690.01013.74
7.1.40.0550.01113.93
7.1.30.1400.00713.46
7.1.20.0510.00713.53
7.1.10.0420.01113.73
7.1.00.0510.00913.40
5.6.380.0110.00513.59

preferences:
30.96 ms | 400 KiB | 5 Q