-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathindex.php
More file actions
59 lines (42 loc) · 1.14 KB
/
index.php
File metadata and controls
59 lines (42 loc) · 1.14 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
/*
* Flicker Leap PHP Engineer Test
*
* This is where the magic happens. Run all code in here to show your end result.
*/
require __DIR__ . '/vendor/autoload.php';
use FlickerLeap\Diamond;
use FlickerLeap\Rectangle;
?>
<!DOCTYPE html>
<html>
<head>
<title>Flicker Leap - PHP Engineer Test</title>
</head>
<style type="text/css">
body{line-height: 1em;}
</style>
<body>
<h1>PHP Engineer Test</h1>
<h2>Hello World</h2>
<p>At the end of this test, you should have all the answers on this page.</p>
<h2>Output a square</h2>
<?php
// implement the square class here
?>
<h2>Output a diamond</h2>
<?php
// output your diamond here
?>
<h2>Output your rectangle</h2>
<?php
// output your working rectangle here
?>
<h2>Output the result of the API</h2>
<?php
// Use the Httpful client to output the API results here.
?>
<h2>Recommendations</h2>
<p><!-- Let us know how we can improve this test here --></p>
</body>
</html>