Hyvor Developer
Home
Download
Copy
Code
<?php $x = 2; $y = 4; var_dump($x / $y); // 2/4 = 0.5 (Float) var_dump($y / $x); // 4/2 = 2 (Int)
Result