3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = 'https://oembed.com/providers.json'; $valid = TRUE; if (in_array(parse_url($value, PHP_URL_SCHEME), [NULL, FALSE], TRUE)) { $valid = FALSE; } var_dump($valid);

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.130.0100.00618.33
8.3.120.0110.00718.79
8.3.110.0100.00320.94
8.3.100.0040.00416.40
8.3.90.0080.00026.77
8.3.80.0060.00319.36
8.3.70.0140.00716.63
8.3.60.0090.00616.63
8.3.50.0140.00416.53
8.3.40.0080.00521.89
8.3.30.0040.01118.35
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0000.00826.16
8.2.250.0050.00316.66
8.2.240.0060.00917.04
8.2.230.0040.00422.58
8.2.220.0060.01024.06
8.2.210.0160.00426.77
8.2.200.0040.00418.88
8.2.190.0070.00716.63
8.2.180.0140.00016.38
8.2.170.0140.00318.80
8.2.160.0080.00622.96
8.2.150.0120.00625.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0070.01119.65
8.2.110.0090.00022.10
8.2.100.0120.00017.66
8.2.90.0060.00318.16
8.2.80.0080.00019.76
8.2.70.0030.00517.50
8.2.60.0150.00517.21
8.2.50.0170.00317.13
8.2.40.0160.00317.38
8.2.30.0140.00517.25
8.2.20.0120.00417.25
8.2.10.0140.00317.25
8.2.00.0080.00817.38
8.1.300.0060.00316.72
8.1.290.0080.00430.84
8.1.280.0100.01025.92
8.1.270.0020.00524.66
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0130.00724.00
8.1.230.0080.00322.81
8.1.220.0050.00517.74
8.1.210.0060.00318.77
8.1.200.0040.00417.22
8.1.190.0180.00416.72
8.1.180.0140.00416.75
8.1.170.0110.00717.38
8.1.160.0120.00417.22
8.1.150.0170.00017.13
8.1.140.0090.00617.25
8.1.130.0080.00817.38
8.1.120.0110.00517.00
8.1.110.0080.00817.34
8.1.100.0070.01017.25
8.1.90.0170.00317.13
8.1.80.0110.00617.13
8.1.70.0120.00517.38
8.1.60.0130.00517.38
8.1.50.0090.00917.25
8.1.40.0100.00817.50
8.1.30.0130.00417.38
8.1.20.0180.00017.38
8.1.10.0180.00017.25
8.1.00.0120.00617.00
8.0.300.0030.00319.95
8.0.290.0040.00416.58
8.0.280.0170.00016.52
8.0.270.0170.00416.52
8.0.260.0130.00516.52
8.0.250.0130.00416.63
8.0.240.0150.00316.59
8.0.230.0120.00516.63
8.0.220.0110.00516.61
8.0.210.0130.00316.52
8.0.200.0120.00416.52
8.0.190.0160.00016.52
8.0.180.0090.00916.52
8.0.170.0120.00416.75
8.0.160.0080.00816.52
8.0.150.0130.00316.52
8.0.140.0130.00316.52
8.0.130.0160.00016.63
8.0.120.0120.00516.52
8.0.110.0130.00316.52
8.0.100.0100.00716.52
8.0.90.0100.00616.52
8.0.80.0080.00816.63
8.0.70.0130.00416.52
8.0.60.0070.01016.52
8.0.50.0130.00416.52
8.0.30.0110.01116.52
8.0.20.0120.00416.52
8.0.10.0130.00416.52

preferences:
25.82 ms | 403 KiB | 5 Q