3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = [ 'default' => 0, 'min_range' => 0, 'max_range' => 999, ]; $id = filter_input(INPUT_GET, 'id', FILTER_SANITIZE_NUMBER_INT, ['options' => $options]); $link = sprintf('https://www.stronka.pl/index.php?id=%d', $id); echo '<a href="'. $link .'"><img src="https://www.stronka.pl/button.png"></a>';

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.4.130.0120.00817.86
8.4.120.0070.00120.76
8.4.110.0120.00822.68
8.4.100.0110.01017.87
8.4.90.0070.00518.09
8.4.80.0130.00817.91
8.4.70.0060.00417.71
8.4.60.0080.01118.85
8.4.50.0110.00818.80
8.4.40.0080.01218.70
8.4.30.0060.01318.59
8.4.20.0100.01020.45
8.4.10.0080.01119.36
8.3.260.0100.01016.67
8.3.250.0070.01119.06
8.3.240.0120.00816.34
8.3.230.0090.01016.51
8.3.220.0120.00617.18
8.3.210.0090.00916.62
8.3.200.0060.00316.41
8.3.190.0050.00317.24
8.3.180.0040.00417.25
8.3.170.0070.00717.29
8.3.160.0030.01419.07
8.3.150.0130.00617.16
8.3.140.0040.00417.36
8.3.130.0040.00418.34
8.3.120.0000.00818.91
8.3.110.0040.00420.94
8.3.100.0060.00316.62
8.3.90.0080.00018.59
8.3.80.0090.00317.97
8.3.70.0100.00718.41
8.3.60.0410.01425.92
8.3.50.0130.01025.92
8.3.40.0390.00425.92
8.3.30.0370.00725.92
8.3.20.0340.01025.92
8.3.10.0360.00725.92
8.3.00.0340.00925.92
8.2.290.0110.00920.31
8.2.280.0100.00518.55
8.2.270.0050.00317.36
8.2.260.0050.00318.24
8.2.250.0080.00018.65
8.2.240.0120.00317.49
8.2.230.0060.00322.58
8.2.220.0100.00024.06
8.2.210.0090.00926.77
8.2.200.0090.00316.63
8.2.190.0070.00716.58
8.2.180.0400.00725.92
8.2.170.0420.00625.92
8.2.160.0390.00825.92
8.2.150.0440.00025.92
8.2.140.0330.01225.92
8.2.130.0300.01525.92
8.2.120.0390.00725.92
8.2.110.0350.01325.92
8.2.100.0270.01725.92
8.2.90.0430.00025.92
8.2.80.0330.00625.92
8.2.70.0320.01125.92
8.2.60.0440.00325.92
8.2.50.0300.01725.92
8.2.40.0470.00025.92
8.2.30.0270.01125.92
8.2.20.0430.00425.92
8.2.10.0250.01825.92
8.2.00.0360.00725.92
8.1.330.0110.00721.99
8.1.320.0140.00415.85
8.1.310.0000.00818.47
8.1.300.0130.00717.97
8.1.290.0090.00018.88
8.1.280.0390.00425.92
8.1.270.0400.01025.92
8.1.260.0270.01725.92
8.1.250.0410.00825.92
8.1.240.0320.01125.92
8.1.230.0350.00625.92
8.1.220.0340.00925.92
8.1.210.0350.00525.92
8.1.200.0320.00725.92
8.1.190.0280.01025.92
8.1.180.0310.00325.92
8.1.170.0350.00825.92
8.1.160.0340.00825.92
8.1.150.0280.00925.92
8.1.140.0370.00325.92
8.1.130.0320.00525.92
8.1.120.0350.00325.92
8.1.110.0290.00725.92
8.1.100.0240.01725.92
8.1.90.0200.02025.92
8.1.80.0320.00725.92
8.1.70.0350.00325.92
8.1.60.0580.00025.92
8.1.50.0350.00925.92
8.1.40.0390.00825.92
8.1.30.0430.00325.92
8.1.20.0340.00725.92
8.1.10.0400.00425.92
8.1.00.0370.00925.92

preferences:
28.59 ms | 403 KiB | 5 Q