<?php
function fun1($a,$b)
{
echo $b;
}
@fun1(123);
//want to store 123 in $b without changing position of any argument......
?>
rrajgor
0
Newbie Poster
Recommended Answers
Jump to Postfun1(null, 123);
All 4 Replies
blocblue
238
Posting Pro in Training
Featured Poster
rrajgor
commented:
no i want to pass only 1 value and that value should be saved in $b
+0
EmilyJohnson
commented:
I am fully agree with blocblue...
+2
blocblue
238
Posting Pro in Training
Featured Poster
EmilyJohnson
0
Junior Poster in Training
veledrom
32
Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.