-
Notifications
You must be signed in to change notification settings - Fork 25
/
index.html
138 lines (130 loc) · 7 KB
/
index.html
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<meta content='Mr. Joel Kemp' name='author'>
<meta content='A PHP read evaluate print loop (REPL) for executing PHP code online in the browser.' name='description'>
<meta content='PHP, repl, programming, read evaluate print loop, phpepl, online repl' name='keywords'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>PHPepl: The PHP REPL</title>
<link rel="shortcut icon" href="/favicon.ico?316280cb6879b222" type="image/x-icon">
<link rel="icon" href="/favicon.ico?316280cb6879b222" type="image/x-icon">
<link href='css/styles.css?2a3d32a4457212ce' rel='stylesheet'>
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-36055599-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
(function(e,b){if(!b.__SV){var a,f,i,g;window.mixpanel=b;a=e.createElement("script");a.type="text/javascript";a.async=!0;a.src=("https:"===e.location.protocol?"https:":"http:")+'//cdn.mxpnl.com/libs/mixpanel-2.2.min.js';f=e.getElementsByTagName("script")[0];f.parentNode.insertBefore(a,f);b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config people.set people.increment people.append people.track_charge".split(" ");for(g=0;g<i.length;g++)f(c,i[g]);b._i.push([a,e,d])};b.__SV=1.2}})(document,window.mixpanel||[]);
mixpanel.init("89e9d9cd5a49c0529bec222da9b37385");
mixpanel.track("Landing Page");
</script>
</head>
<body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=803805852966575&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!-- Built by Mr. Joel Kemp, @mrjoelkemp, www.mrjoelkemp.com -->
<!-- Yes, there's php -a, but it isn't great for multi-line snippets.
I really wanted a repl to play with particular parts of PHP. -->
<div class='container'>
<a class="fork-me" href='https://github.com/mrjoelkemp/phpepl' target="_blank" rel="nofollow">
<img alt='Fork me on GitHub' src='https://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png' style='position: absolute; top: 0; right: 0; border: 0;'>
</a>
<div class="sidebar">
<div class='title'>
<span class='code'>PHPepl: The PHP repl</span>
<button>Submit Code</button>
</div>
<div class="built-by">
<span>Built by <a href="https://twitter.com/mrjoelkemp" target="_blank" rel="nofollow">@mrjoelkemp</a></span>
and
<a href="https://twitter.com/ElijahHorton" target="_blank" rel="nofollow">@ElijahHorton</a></span>
</div>
<div class="heroku-version">
<a class="link-to-heroku" href="http://phpepl.herokuapp.com">Click to use the latest PHP version</a>
</div>
<div class='submit'>
<span class='code'>
Run Code:
<span class='shortcut'>⌘ + Enter</span>
or
<span class='shortcut'>Ctrl + Enter</span>
</span>
<span class='code'>
Previous:
<span class='shortcut'>⌘ + ⇧ + Up</span>
or
<span class='shortcut'>Ctrl + Shift + Up</span>
</span>
<span class='code'>
Next:
<span class='shortcut'>⌘ + ⇧ + Down</span>
or
<span class='shortcut'>Ctrl + Shift + Down</span>
</span>
<span class='code'>
Autocomplete:
<span class='shortcut'>Ctrl + Space</span>
</span>
</div>
<div class="share-code">
<span>Share your code:</span>
<input class="share" />
</div>
<div class='fork-info'>
<iframe src="github-btn.html?user=mrjoelkemp&repo=phpepl&type=fork" allowtransparency="true" frameborder="0" scrolling="0" width="50px" height="20px"></iframe>
<span> the project for an unsandboxed experience </span>
</div>
<div class='credits'>
<a href="https://twitter.com/share" class="twitter-share-button" data-text="Try out some PHP in PHPepl: The PHP Repl" data-via="mrjoelkemp" data-hashtags="php">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<div class="fb-like" data-href="http://phpepl.herokuapp.com/" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div>
</div>
<div class="google">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- PHPepl -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-4527500590412561"
data-ad-slot="6285196909"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
<div class="rightcol">
<div id='editor'></div>
<div class='console output'>
<div class='loader spinner'>Loading...</div>
<div class='output-container'>
<span></span>
</div>
</div>
<div class='timestamp'>
<span></span>
</div>
</div>
</div>
<div class='mixpanel'>
<a href='http://mixpanel.com/f/partner' style='display:none'>
<img alt='Real Time Web Analytics' src='http://mixpanel.com/site_media/images/partner/badge_blue.png'>
</a>
</div>
</body>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='js/vendor/ace/ace.js?744a5852f2a9614b'></script>
<script src='js/vendor/ace/ext-language_tools.js?541ef4db9ed6eff7'></script>
<script src='js/vendor/ace/snippets/php.js?846bbe7ad7c1d6f6'></script>
<script src='dist/phpepl.js?7b7ddf4a7ce695ed'></script>
</html>