Menu

[r1]: / samples / remote / web / sample.php  Maximize  Restore  History

Download this file

44 lines (41 with data), 773 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
40
41
42
43
<?php
/*
* $Id: sample.php 16428 2005-04-15 16:37:04Z npac $
*
* 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)
*/
?>
<html>
<head>
<title>A simple remove coverage recording sample.</title>
</head>
<body>
<?php
function a($a) {
echo $a * 2.5 . "<br/>";
}
function b($count) {
for ($i = 0; $i < $count; $i++) {
a($i + 0.17);
}
}
?>
<h1>Execution results</h1>
<?php
if(1 != 1) {
require_once 'include.php';
}
else {
require_once 'include1.php';
}
b(6);
b(10);
?>
</body>
</html>
<?php
exit();
echo "After exit";
?>
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.