3v4l.org

run code in 300+ PHP versions simultaneously
<?php function checkOGRN($ogrn){ $verify_num = intval(substr($ogrn, 0, 12)); $check_num = intval(substr($ogrn, -1)); $res_num = $verify_num % 11; if ($res_num > 9) $res_num - round($res_num/10)*10; return $result == $chek; } print_r(checkOGRN('311333426300044'));
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $result in /in/7vWDH on line 7 Warning: Undefined variable $chek in /in/7vWDH on line 7 1

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:
46.76 ms | 401 KiB | 8 Q