Menu

[r24]: / trunk / samples / local / sample.php  Maximize  Restore  History

Download this file

40 lines (32 with data), 666 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/*
* $Id: sample.php 49493 2006-04-08 00:16:04Z hkodungallur $
*
* Copyright(c) 2004-2006, SpikeSource Inc. All Rights Reserved.
* Licensed under the Open Software License version 2.1
* (See http://www.spikesource.com/license.html)
*/
?>
<?php
function a($a) {
echo $a * 2.5;
}
function b($count) {
for ($i = 0; $i < $count; $i++) {
a($i + 0.17);
}
}
b(6);
b(10);
$a = $b = $c = $d = $e = $f = 1;
$ret = $a + $b +
$c + $d +
( $d * $e )
/ $e + $f +
$e + $f;
if ($id)
{
$z = 2;
}
include "sample.test";
?>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.