3v4l.org

run code in 300+ PHP versions simultaneously
<?php $page = [ 'title' => 'test', 'id' => 4, 'option' => 'test_option', 'seo' => 'test_seo', 'pointa' => 'test_pointa', 'perex' => 'test_perex', 'content' => 'test_content', 'publish' => 0, ]; function h($val) { return htmlspecialchars($val); } ?> <form action="" method="POST"> <h2>Tu môžeš upraviť článok</h2> <div class="part"> <label for="title">Názov článku:</label><br> <input type="text" id="title" name="title" value="<?php echo h($page['title']); ?>" required><br> </div> <div class="part"> <label for="option">Kategória:</label> <select type="option" id="option" name="option" value="<?php echo h($page['option']); ?>" required> <option value="pristup">Prístup</option> <option value="sebaedukacia" selected>Sebaedukácia</option> <option value="sebarodicovstvo">Sebarodičovstvo</option> <option value="zasadneschopnosti">Zásadné schopnosti</option> <option value="dusevnymajetok">Duševný majetok</option> <option value="vzdelaniebuducnosti">Vzdelanie budúcnosti</option> </select><br> </div> <div class="part"> <label for="seo" id="seo" name="seo">SEO:</label><br> <input type="text" id="seo" name="seo" value="<?php echo h($page['seo']); ?>"><br> </div> <div class="part"> <label for="pointa" id="pointa" name="pointa">Hlavná myšlienka:</label><br> <input type="text" id="pointa" name="pointa" value="<?php echo h($page['pointa']); ?>"><br> </div> <div class="part"> <label for="perex" id="perex" name="perex">Perex:</label><br> <textarea id="perex" name="perex" rows="4" value="<?php echo h($page['perex']); ?>" required></textarea><br> </div> <button type="button" id="pic" name="pic"> Nahrať obrázok </button><br> <div class="part"> <label for="content" id="content" name="content">Celý článok:</label><br> <textarea id="content" name="content" rows="20" value="<?php echo h($page['content']); ?>"required></textarea><br> </div> <div class="mini-part" style="padding-bottom: 15px; font-size: 20px; text-align: left; "> <label for="visible" id="publish" name="publish">Viditeľný:</label> <input type="hidden" id="publish" name="publish" value="0"> <input type="checkbox" id="publish" name="publish" value="1"<?php if($page['publish'] == "1") { echo " checked"; } ?>><br> </div>

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.5.30.0100.00720.14
8.5.20.0050.00320.25
8.5.10.0080.00918.74
8.5.00.0090.01120.24
8.4.180.0150.00723.80
8.4.170.0100.01121.95
8.4.160.0100.01123.81
8.4.150.0200.00416.81
8.4.140.0140.00717.51
8.4.130.0060.00317.91
8.4.120.0130.00820.84
8.4.110.0120.00918.64
8.4.100.0160.00517.75
8.4.90.0140.00617.46
8.4.80.0160.00417.73
8.4.70.0110.00819.52
8.4.60.0120.01018.86
8.4.50.0060.00617.85
8.4.40.0000.00919.36
8.4.30.0150.00820.68
8.4.20.0060.01317.99
8.4.10.0090.00620.48
8.3.300.0120.00920.33
8.3.290.0100.01120.73
8.3.280.0050.00516.31
8.3.270.0130.00816.49
8.3.260.0040.00416.41
8.3.250.0090.00918.80
8.3.240.0040.00316.74
8.3.230.0090.01016.80
8.3.220.0040.00516.45
8.3.210.0110.00716.76
8.3.200.0060.00516.61
8.3.190.0040.00417.25
8.3.180.0050.00316.63
8.3.170.0090.00918.93
8.3.160.0090.00918.13
8.3.150.0120.00318.80
8.3.140.0150.00016.35
8.3.130.0040.01116.71
8.3.120.0150.00318.81
8.3.110.0030.00520.94
8.3.100.0160.00016.65
8.3.90.0040.00426.77
8.3.80.0090.00016.50
8.3.70.0110.00416.74
8.3.60.0030.01416.75
8.3.50.0170.00018.27
8.3.40.0180.00418.81
8.3.30.0110.00719.19
8.3.20.0000.00824.18
8.3.10.0070.00024.66
8.3.00.0040.01126.16
8.2.300.0130.00817.98
8.2.290.0110.00820.32
8.2.280.0070.00418.43
8.2.270.0130.00617.06
8.2.260.0040.01118.35
8.2.250.0040.00416.99
8.2.240.0070.01118.74
8.2.230.0060.00322.58
8.2.220.0060.00324.06
8.2.210.0040.00426.77
8.2.200.0030.00616.63
8.2.190.0140.00716.58
8.2.180.0070.01425.92
8.2.170.0110.00619.13
8.2.160.0150.00622.96
8.2.150.0060.00325.66
8.2.140.0140.00424.66
8.2.130.0050.00326.16
8.2.120.0070.00026.16
8.2.110.0110.01122.25
8.2.100.0030.00919.77
8.2.90.0040.00417.63
8.2.80.0000.00818.73
8.2.70.0030.00617.63
8.2.60.0080.00017.38
8.2.50.0050.00317.98
8.2.40.0040.00420.07
8.2.30.0000.00718.21
8.2.20.0000.00720.50
8.2.10.0040.00417.99
8.2.00.0000.00719.14
8.1.340.0150.00517.74
8.1.330.0130.00516.76
8.1.320.0140.00715.97
8.1.310.0110.00416.54
8.1.300.0030.00618.05
8.1.290.0000.00930.84
8.1.280.0160.00025.92
8.1.270.0100.01023.99
8.1.260.0050.00326.35
8.1.250.0000.01328.09
8.1.240.0140.00318.95
8.1.230.0070.00417.83
8.1.220.0040.00417.76
8.1.210.0030.00518.77
8.1.200.0100.00017.35
8.1.190.0030.00617.13
8.1.180.0040.00418.10
8.1.170.0000.00717.62
8.1.160.0040.00418.97
8.1.150.0000.00718.57
8.1.140.0070.00017.38
8.1.130.0030.00318.98
8.1.120.0070.00017.52
8.1.110.0060.00317.52
8.1.100.0000.00717.55
8.1.90.0050.00317.39
8.1.80.0050.00217.49
8.1.70.0070.00017.35
8.1.60.0040.00417.58
8.1.50.0040.00417.43
8.1.40.0030.00817.49
8.1.30.0190.00517.66
8.1.20.0130.01317.69
8.1.10.0160.00817.58
8.1.00.0160.00817.45
8.0.300.0000.00718.77
8.0.290.0030.00616.75
8.0.280.0030.00318.47
8.0.270.0000.00716.80
8.0.260.0040.00418.48
8.0.250.0040.00416.95
8.0.240.0040.00417.04
8.0.230.0000.00716.94
8.0.220.0000.00716.91
8.0.210.0090.00016.93
8.0.200.0030.00316.81
8.0.190.0050.00216.95
8.0.180.0040.00416.94
8.0.170.0120.00316.92
8.0.160.0120.00616.96
8.0.150.0100.00516.74
8.0.140.0150.00416.86
8.0.130.0100.00716.81
8.0.120.0140.00316.90
8.0.110.0110.00416.83
8.0.100.0170.00016.85
8.0.90.0160.00016.91
8.0.80.0090.00616.75
8.0.70.0100.00716.68
8.0.60.0060.00616.89
8.0.50.0150.00316.95
8.0.30.0160.00316.82
8.0.20.0140.00616.99
8.0.10.0140.00716.98
7.4.330.0050.00015.55
7.4.320.0000.00716.61
7.4.300.0030.00316.63
7.4.290.0040.00416.57
7.4.280.0110.00716.63
7.4.270.0160.00416.50
7.4.260.0170.00616.38
7.4.250.0200.00316.63
7.4.240.0160.00016.52
7.4.230.0140.00716.53
7.4.220.0120.00416.63
7.4.210.0140.00016.51
7.4.200.0040.00916.49
7.4.190.0100.00316.68
7.4.180.0100.00016.54
7.4.160.0090.00516.58
7.4.150.0090.00316.36
7.4.140.0150.00016.45
7.4.130.0100.00016.36
7.4.120.0070.00416.51
7.4.110.0080.00516.48
7.4.100.0060.00616.44
7.4.90.0090.00616.43
7.4.80.0060.00616.46
7.4.70.0050.00516.46
7.4.60.0000.01216.38
7.4.50.0130.00416.45
7.4.40.0110.00716.38
7.4.30.0150.00316.46
7.4.20.0190.00016.33
7.4.10.0140.00416.52
7.4.00.0100.00716.49

preferences:
60.12 ms | 1699 KiB | 5 Q