<?php function magic($p, $q) { return ($q == 0) ? $p : magic($q, $p % $q); } var_dump(magic(10, 5));
You have javascript disabled. You will not be able to edit any code.