Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

calling fucnction in an other function php

class Test {

    public function say($a) {
        return $a ;

    } 

    public function tell() {
        $c = "Hello World" ;
        $a = $this->say($c) ;
        return $a ;
    }
} 

$b= new Test() ;    
echo $b->tell() ;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #calling #fucnction #function #php
ADD COMMENT
Topic
Name
4+8 =