Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1565 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

How could I merge these three functions?

Thread title: How could I merge these three functions?
Reply    
    Thread tools Search this thread Display Modes  
08-11-2012, 09:09 PM
#1
fde is offline fde
Status: I'm new around here
Join date: Aug 2012
Location: netherlands
Expertise: php
Software: xampp, cream for vim
 
Posts: 3
iTrader: 0 / 0%
 

fde is on a distinguished road

  Old

Note that it is also possible to return arrays:

PHP Code:
function a(){
$array[]="a";
$array[]="b";
return 
$array;
}


$a=a();
print_r($a); 

Reply    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed