3v4l.org

run code in 300+ PHP versions simultaneously
<!-- Má posta á hvaða síðu sem er innan WP vefsins --> <form method="post" action=""> <!-- POST request verður alltaf að innihalda field með heitinu 'afylling' --> <input type="hidden" name="afylling" /> <!-- $_SESSION['afylling']['errors'] er array af strengjum sem innihalda villuskilaboð --> <!-- Default (engar villur) er tómur array --> <?php foreach ($_SESSION['afylling']['errors'] as $error) : ?> <span style="color: red; display:block;"><?= $error; ?></span> <?php endforeach ?> <!-- Fyrra skref áfyllingar --> <!-- step er default 1 --> <?php if($_SESSION['afylling']['step'] == 1) : ?> <!-- Innbyggt WP validation --> <?php wp_nonce_field('afylling_step1'); ?> <!-- Required fields --> <input type="text" placeholder="Símanúmer" name="afylling_simanumer" value="<?= $_SESSION['afylling']['data']['simanumer']; ?>" /> <input type="text" placeholder="Upphæð" name="afylling_upphaed" value="<?= $_SESSION['afylling']['data']['upphaed']; ?>" /> <!-- Seinna skref áfyllingar, ef fyrra skref tekst --> <?php elseif($_SESSION['afylling']['step'] == 2) : ?> <!-- Innbyggt WP validation --> <?php wp_nonce_field('afylling_step2'); ?> <!-- Required fields --> <input type="text" placeholder="Kortanúmer" name="afylling_kortanumer" /> <input type="text" placeholder="MM" name="afylling_mm" /> <input type="text" placeholder="ÁÁ" name="afylling_aa" /> <input type="text" placeholder="CVC" name="afylling_cvc" /> <?php endif ?> <!-- Skiptir ekki máli hvert value er hér --> <input type="submit" name="submit" value="Submit" /> </form>

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.0140.00718.30
8.3.50.0110.00521.88
8.3.40.0000.01518.84
8.3.30.0110.00419.04
8.3.20.0080.00020.16
8.3.10.0000.00722.10
8.3.00.0040.00422.37
8.2.180.0090.00916.46
8.2.170.0110.00322.96
8.2.160.0090.00620.52
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00419.48
8.2.110.0100.00020.53
8.2.100.0090.00317.84
8.2.90.0050.00318.96
8.2.80.0000.00817.97
8.2.70.0100.00217.50
8.2.60.0060.00317.93
8.2.50.0030.00618.07
8.2.40.0040.00418.34
8.2.30.0000.00718.11
8.2.20.0000.00817.59
8.2.10.0080.00019.39
8.2.00.0000.00717.73
8.1.280.0110.00425.92
8.1.270.0080.00022.09
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00623.97
8.1.230.0090.00317.42
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0040.00417.23
8.1.190.0040.00417.40
8.1.180.0030.00618.10
8.1.170.0040.00418.50
8.1.160.0040.00422.15
8.1.150.0060.00318.69
8.1.140.0040.00417.45
8.1.130.0030.00317.88
8.1.120.0000.00717.44
8.1.110.0070.00017.44
8.1.100.0000.00817.46
8.1.90.0000.00817.37
8.1.80.0000.00717.33
8.1.70.0020.00517.43
8.1.60.0080.00017.47
8.1.50.0000.00817.49
8.1.40.0040.00417.39
8.1.30.0040.00417.57
8.1.20.0030.00617.60
8.1.10.0090.00017.59
8.1.00.0000.00717.35
8.0.300.0070.00018.77
8.0.290.0060.00316.88
8.0.280.0030.00318.42
8.0.270.0050.00217.29
8.0.260.0030.00316.88
8.0.250.0060.00316.90
8.0.240.0030.00316.92
8.0.230.0070.00017.02
8.0.220.0000.00816.89
8.0.210.0040.00416.91
8.0.200.0030.00317.05
8.0.190.0050.00316.98
8.0.180.0000.00917.01
8.0.170.0040.00416.95
8.0.160.0000.00716.99
8.0.150.0030.00316.77
8.0.140.0040.00416.82
8.0.130.0040.00413.43
8.0.120.0050.00216.82
8.0.110.0030.00516.91
8.0.100.0040.00416.97
8.0.90.0020.00516.88
8.0.80.0050.01016.97
8.0.70.0040.00416.91
8.0.60.0030.00516.82
8.0.50.0080.00016.93
8.0.30.0170.00916.92
8.0.20.0100.00817.40
8.0.10.0070.00016.94
8.0.00.0060.01616.78
7.4.330.0070.00015.00
7.4.320.0030.00316.63
7.4.300.0030.00316.42
7.4.290.0040.00416.58
7.4.280.0000.00816.48
7.4.270.0000.00616.52
7.4.260.0070.00016.58
7.4.250.0070.00016.47
7.4.240.0010.00716.54
7.4.230.0000.00716.49
7.4.220.0110.00716.40
7.4.210.0050.01016.55
7.4.200.0030.00316.61
7.4.190.0070.00016.63
7.4.160.0140.00916.62
7.4.150.0160.00317.40
7.4.140.0080.00917.86
7.4.130.0110.00916.60
7.4.120.0090.00816.60
7.4.110.0090.00916.61
7.4.100.0140.00316.62
7.4.90.0110.01116.47
7.4.80.0130.01019.39
7.4.70.0060.01216.62
7.4.60.0040.01516.53
7.4.50.0050.00016.54
7.4.40.0030.01222.77
7.4.30.0120.00916.62
7.4.00.0090.00614.96
7.3.330.0020.00213.16
7.3.320.0060.00013.34
7.3.310.0000.00716.41
7.3.300.0030.00316.35
7.3.290.0070.00716.37
7.3.280.0120.00416.40
7.3.270.0120.00617.40
7.3.260.0110.00716.48
7.3.250.0130.00816.60
7.3.240.0080.00816.32
7.3.230.0030.01416.39
7.3.210.0000.01816.33
7.3.200.0100.00716.41
7.3.190.0080.00816.58
7.3.180.0100.01116.54
7.3.170.0100.01316.34
7.3.160.0080.00816.33
7.3.120.0070.01014.82
7.2.330.0060.01316.69
7.2.320.0090.01216.81
7.2.310.0100.00716.45
7.2.300.0090.00916.77
7.2.290.0040.01816.90
7.2.00.0040.00819.53
7.1.100.0030.01318.00
7.1.70.0040.00417.15
7.1.60.0030.01017.05
7.1.50.0070.00416.96
7.1.40.0060.01616.55
7.1.30.0040.00816.69
7.1.20.0090.00416.89
7.1.10.0050.00516.62
7.1.00.0060.00616.88
7.0.200.0080.00416.75
7.0.190.0070.00316.48
7.0.180.0040.00416.33
7.0.170.0040.00416.22
7.0.160.0030.01316.13
7.0.150.0070.00716.31
7.0.140.0030.00816.29
7.0.130.0030.00716.66
7.0.120.0000.00716.35
7.0.110.0000.00816.15
7.0.100.0030.00516.36
7.0.90.0030.00716.41
7.0.80.0040.00716.36
7.0.70.0000.00816.34
7.0.60.0030.00516.18
7.0.50.0080.00616.50
7.0.40.0000.01515.90
7.0.30.0070.00015.90
7.0.20.0030.00615.90
7.0.10.0000.00715.90
7.0.00.0040.00715.90
5.6.300.0000.04620.91
5.6.290.0100.05720.78
5.6.280.0070.04620.89
5.6.270.0030.04820.75
5.6.260.0060.06221.03
5.6.250.0030.04320.89
5.6.240.0060.04120.89
5.6.230.0100.03820.80
5.6.220.0000.05220.79
5.6.210.0070.04721.00
5.6.200.0030.04120.82
5.6.190.0000.05020.73
5.6.180.0030.04020.82
5.6.170.0070.03721.04
5.6.160.0000.04320.82
5.6.150.0070.04920.83
5.6.140.0100.06220.82
5.6.130.0030.04120.84
5.6.120.0070.04020.98
5.6.110.0030.04520.75
5.6.100.0070.06320.80
5.6.90.0100.04420.80
5.6.80.0100.07820.41
5.6.70.0070.05020.42
5.6.60.0030.03820.33
5.6.50.0000.04320.43
5.6.40.0030.04220.32
5.6.30.0030.03920.27
5.6.20.0030.07020.38
5.6.10.0030.05220.13
5.6.00.0030.03820.14
5.5.380.0070.05617.51
5.5.370.0090.03417.51
5.5.360.0000.04317.40
5.5.350.0030.03917.45
5.5.340.0000.04518.04
5.5.330.0000.07617.77
5.5.320.0000.05118.07
5.5.310.0030.05918.00
5.5.300.0030.05317.97
5.5.290.0070.04018.02
5.5.280.0030.04018.07
5.5.270.0030.08918.05
5.5.260.0000.06418.05
5.5.250.0030.05817.72
5.5.240.0030.04617.41
5.5.230.0030.03917.40
5.5.220.0030.04117.44
5.5.210.0030.03717.40
5.5.200.0000.04117.09
5.5.190.0070.08017.29
5.5.180.0100.06317.29
5.5.160.0000.04417.32
5.5.150.0030.04117.18
5.5.140.0030.03817.38
5.5.130.0000.04117.29
5.5.120.0030.04117.25
5.5.110.0100.05717.46
5.5.100.0000.04716.96
5.5.90.0070.04117.25
5.5.80.0100.03617.27
5.5.70.0000.04617.31
5.5.60.0000.04017.23
5.5.50.0030.07717.21
5.5.40.0000.05017.30
5.5.30.0030.04816.94
5.5.20.0030.03817.10
5.5.10.0000.04217.25
5.5.00.0000.04317.26
5.4.450.0030.04319.25
5.4.440.0030.04319.16
5.4.430.0000.05419.39
5.4.420.0030.04019.30
5.4.410.0030.04019.34
5.4.400.0070.03619.14
5.4.390.0030.03719.14
5.4.380.0030.04019.07
5.4.370.0000.04219.06
5.4.360.0000.04619.15
5.4.350.0130.04618.84
5.4.340.0070.03619.09
5.4.320.0300.03418.85
5.4.310.0030.04019.04
5.4.300.0070.03518.91
5.4.290.0030.04018.98
5.4.280.0030.04018.88
5.4.270.0030.03618.82
5.4.260.0100.04019.10
5.4.250.0070.03419.18
5.4.240.0030.03918.88
5.4.230.0100.03419.05
5.4.220.0130.07719.09
5.4.210.0060.06519.01
5.4.200.0030.03918.90
5.4.190.0030.04119.01
5.4.180.0000.04019.13
5.4.170.0070.03419.06
5.4.160.0030.04219.03
5.4.150.0000.05018.84
5.4.140.0000.04016.67
5.4.130.0060.03516.62
5.4.120.0040.03216.51
5.4.110.0000.04616.62
5.4.100.0030.03516.68
5.4.90.0030.04916.65
5.4.80.0030.03716.60
5.4.70.0000.07916.34
5.4.60.0030.03716.62
5.4.50.0000.03916.51
5.4.40.0030.03416.60
5.4.30.0030.03316.55
5.4.20.0030.03416.54
5.4.10.0030.03616.54
5.4.00.0000.03516.09
5.3.290.0000.04415.90
5.3.280.0040.03515.90
5.3.270.0000.04315.90
5.3.260.0030.04015.90
5.3.250.0000.04115.90
5.3.240.0030.04815.90
5.3.230.0030.03615.90
5.3.220.0030.05615.90
5.3.210.0000.04915.90
5.3.200.0000.03915.90
5.3.190.0070.03415.90
5.3.180.0030.03915.90
5.3.170.0000.04915.90
5.3.160.0030.04315.90
5.3.150.0030.04115.90
5.3.140.0030.03915.90
5.3.130.0040.03615.90
5.3.120.0040.03915.90
5.3.110.0000.04615.90
5.3.100.0000.03815.90
5.3.90.0000.03915.90
5.3.80.0000.04115.90
5.3.70.0000.04415.90
5.3.60.0030.03715.90
5.3.50.0000.04115.90
5.3.40.0030.07715.90
5.3.30.0030.03315.90
5.3.20.0040.03215.90
5.3.10.0070.03515.90
5.3.00.0000.03715.90
5.2.170.0030.03115.90
5.2.160.0040.02815.90
5.2.150.0030.03715.90
5.2.140.0070.02715.90
5.2.130.0030.02715.90
5.2.120.0060.02915.90
5.2.110.0100.03615.90
5.2.100.0030.03815.90
5.2.90.0070.02315.90
5.2.80.0030.05115.90
5.2.70.0070.04715.90
5.2.60.0070.03715.90
5.2.50.0030.02815.90
5.2.40.0040.02915.90
5.2.30.0000.05815.90
5.2.20.0000.03115.90
5.2.10.0000.03115.90
5.2.00.0030.02715.90
5.1.60.0060.02215.90
5.1.50.0060.02615.90
5.1.40.0000.03415.90
5.1.30.0000.03115.90
5.1.20.0030.05915.90
5.1.10.0030.02415.90
5.1.00.0070.04815.90
5.0.50.0000.05115.90
5.0.40.0000.03215.90
5.0.30.0030.03115.90
5.0.20.0030.02315.90
5.0.10.0060.02215.90
5.0.00.0060.03215.90
4.4.90.0000.01715.90
4.4.80.0040.01515.90
4.4.70.0000.02115.90
4.4.60.0030.01315.90
4.4.50.0030.01315.90
4.4.40.0030.02315.90
4.4.30.0000.02315.90
4.4.20.0030.03315.90
4.4.10.0030.02415.90
4.4.00.0030.05515.90
4.3.110.0000.03715.90
4.3.100.0060.01615.90
4.3.90.0030.03415.90
4.3.80.0000.02515.90
4.3.70.0000.02715.90
4.3.60.0030.02015.90
4.3.50.0030.01315.90
4.3.40.0000.03015.90
4.3.30.0040.01515.90
4.3.20.0000.02315.90
4.3.10.0040.01815.90
4.3.00.0060.01515.90

preferences:
42.45 ms | 400 KiB | 5 Q