Cybis Wiki:Playground

From Cybis Wiki
(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
 
<runphp>
 
<runphp>
  
echo phpversion();
+
function print_var($name, $value) {
 +
echo $name.' = '.$value.'<br />';
 +
}
 +
 
 +
print_var('version', phpversion());
 +
print_var('upload', ini_get('upload_max_filesize'));
  
 
</runphp>
 
</runphp>

Revision as of 12:24, 21 May 2009

This is my playground! DO NOT EDIT!

<runphp>

function print_var($name, $value) { echo $name.' = '.$value.'
'; }

print_var('version', phpversion()); print_var('upload', ini_get('upload_max_filesize'));

</runphp>

Personal tools