What is the output of the following code?
<?php
function callbyReference(&$variable = 5)
{
echo ++$variable;
}
callbyReference();
?>>
answer : 6
Please answer through the comments I will make it publish on blog..............
[Thursday, February 21, 2008
|
0
comments
]
Popular Posts
- Elgg : The most popular open source social networking platform
- function to check whether the year given is a leap year or not
- Running a perl script from PHP
- some php questions
- solving the packaging problem in PHP
- php questions
- creating dynamic elements in HTML using Javascript.
- How to create a plugin in elgg.
- Function to find out last 12 months details from the current date
- Jquery based dynamic adding and removal of html elements.
0 comments
Post a Comment
Please put your comments here. your questions, your suggestions, also what went wrong with me.