3v4l.org

run code in 300+ PHP versions simultaneously
<?php $angka = 8161824.6; $potong1 = substr($angka, 0, 3); $potong2 = ceil(substr($angka, 3, strlen($angka))); $bulat = substr($potong2, 1, 1); $bulat1 = substr($potong2, 0, 1); $bulat2 = $bulat>=5?$bulat1+1:$bulat1; $nol = ""; for ($i = 0;$i < strlen($potong2)-1;$i++) { $nol .= "0"; } echo $potong1.$bulat2.$nol;
Output for git.master, git.master_jit, rfc.property-hooks
8162000

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
94.49 ms | 401 KiB | 8 Q