lopes_andre Posted August 9, 2010 Share Posted August 9, 2010 Hi, I develop some functions in PL/SQL and PL/PgSQL. In these languages are IN and OUT parameters in Functions and Store Procedures. There is IN and OUT parameters in PHP Functions? Sorry my bad english. Best Regards, Quote Link to comment https://forums.phpfreaks.com/topic/210227-there-are-in-and-out-parameters-in-php-functions/ Share on other sites More sharing options...
Maq Posted August 9, 2010 Share Posted August 9, 2010 If I understand you correctly, yes PHP has function arguments (IN) and also also returns (OUT). Quote Link to comment https://forums.phpfreaks.com/topic/210227-there-are-in-and-out-parameters-in-php-functions/#findComment-1097078 Share on other sites More sharing options...
Mchl Posted August 9, 2010 Share Posted August 9, 2010 You can also declare argument to be passed by reference, which makes it sort of IN/OUT argument http://www.php.net/manual/en/language.references.pass.php Quote Link to comment https://forums.phpfreaks.com/topic/210227-there-are-in-and-out-parameters-in-php-functions/#findComment-1097125 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.