Skip to content

Commit b20f070

Browse files
committed
cleanup script
1 parent c49df31 commit b20f070

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

src/appserver.php

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -19,44 +19,6 @@
1919
* @author Johann Zelger <jz@techdivision.com>
2020
*/
2121

22-
class Universe
23-
{
24-
public function injectObj($obj)
25-
{
26-
$this->obj = $obj;
27-
}
28-
}
29-
30-
class World
31-
{
32-
public function injectObj($obj)
33-
{
34-
$this->obj = $obj;
35-
}
36-
}
37-
38-
class TestThread extends Thread
39-
{
40-
public function __construct($obj)
41-
{
42-
$this->obj = $obj;
43-
}
44-
45-
public function run()
46-
{
47-
$obj = $this->obj;
48-
}
49-
}
50-
51-
$universe = new Universe();
52-
$world = new World();
53-
54-
$universe->injectObj($world);
55-
$world->injectObj($universe);
56-
57-
$testThread = new TestThread($universe);
58-
$testThread->start();
59-
6022
define('PHP_SAPI', 'appserver');
6123
echo "Constant PHP_SAPI: -> SAPI_TYPE: " . PHP_SAPI;
6224
echo PHP_EOL . "==========================================". PHP_EOL;

0 commit comments

Comments
 (0)