Jump to content

operator %?


Recommended Posts

$a=10;$c=$a%3;$d=$a%4;$e=$a%5;echo $c; //it will show 1echo $d; //it will show 2echo $e; //it will show 0

its actualy return the reminder.

Edited by birbal
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...