PHP Classes

File: myfunctions.php

Recommend this page to a friend!
  Classes of zinsou A.A.E.Mo´se   PHP LGCF Loader   myfunctions.php   Download  
File: myfunctions.php
Role: Auxiliary data
Content type: text/plain
Description: functions for test purposes
Class: PHP LGCF Loader
Load classes and functions when needed
Author: By
Last change: include new version test
Date: 5 years ago
Size: 568 bytes
 

Contents

Class file image Download
<?php namespace{ FUNCTION add($x,$y){ return $x+$y; } FUNCTION divide($x,$y){ return $x/$y; } FUNCTION substract($x,$y){ return $x-$y; } FUNCTION product($x,$y){ return $x*$y; } } namespace kakao; FUNCTION Show_me_hello(){ echo '<br>hello<br>'; if(!function_exists('kakao\fortest')){ function fortest(){ $x=25; while($x>0){ yield $x; $x--; } } } if(!function_exists('kakao\fortest2')){ function fortest2(){ $x=25; while($x>0){ yield $x.' from function: '.__FUNCTION__; $x--; } } } } ?>