3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<div class="snsshare"><a id="share_fb" href="<a href="http://www.facebook.com/share.php?u=<?php" target="_blank" rel="noreferrer" style="cursor:help;display:inline !important;">http://www.facebook.com/share.php?u=<?php</a> the_permalink(); ?>"onclick="window.open(this.href, 'FBwindow', 'width=650, height=450, menubar=no, toolbar=no, scrollbars=yes'); return false;">Facebookでシェア</a> <a id="share_tw" href="<a href="http://twitter.com/share?count=horizontal&original_referer=<?php" target="_blank" rel="noreferrer" style="cursor:help;display:inline !important;">http://twitter.com/share?count=horizontal&original_referer=<?php</a> the_permalink(); ?>&text=<?php the_title(); ?>&url=<?php the_permalink(); ?>"onclick="window.open(this.href, 'tweetwindow', 'width=550, height=450,personalbar=0,toolbar=0,scrollbars=1,resizable=1'); return false;">Twitterでシェア</a> </div>
based on BhV6X
Output for 5.0.0 - 5.4.31
<div class="snsshare"><a id="share_fb" href="<a href="http://www.facebook.com/share.php?u=<?php" target="_blank" rel="noreferrer" style="cursor:help;display:inline !important;">http://www.facebook.com/share.php?u=<?php</a> the_permalink(); ?>"onclick="window.open(this.href, 'FBwindow', 'width=650, height=450, menubar=no, toolbar=no, scrollbars=yes'); return false;">Facebookでシェア</a> <a id="share_tw" href="<a href="http://twitter.com/share?count=horizontal&original_referer=<?php" target="_blank" rel="noreferrer" style="cursor:help;display:inline !important;">http://twitter.com/share?count=horizontal&original_referer=<?php</a> the_permalink(); ?>&text= Fatal error: Call to undefined function the_title() in /in/3BkiD on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
<div class="snsshare"><a id="share_fb" href="<a href="http://www.facebook.com/share.php?u=<?php" target="_blank" rel="noreferrer" style="cursor:help;display:inline !important;">http://www.facebook.com/share.php?u=<?php</a> the_permalink(); ?>"onclick="window.open(this.href, 'FBwindow', 'width=650, height=450, menubar=no, toolbar=no, scrollbars=yes'); return false;">Facebookでシェア</a> <a id="share_tw" href="<a href="http://twitter.com/share?count=horizontal&original_referer=<?php" target="_blank" rel="noreferrer" style="cursor:help;display:inline !important;">http://twitter.com/share?count=horizontal&original_referer=<?php</a> the_permalink(); ?>&text= Fatal error: Call to undefined function: the_title() in /in/3BkiD on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<div class="snsshare"><a id="share_fb" href="<a href="http://www.facebook.com/share.php?u=<?php" target="_blank" rel="noreferrer" style="cursor:help;display:inline !important;">http://www.facebook.com/share.php?u=<?php</a> the_permalink(); ?>"onclick="window.open(this.href, 'FBwindow', 'width=650, height=450, menubar=no, toolbar=no, scrollbars=yes'); return false;">Facebookでシェア</a> <a id="share_tw" href="<a href="http://twitter.com/share?count=horizontal&original_referer=<?php" target="_blank" rel="noreferrer" style="cursor:help;display:inline !important;">http://twitter.com/share?count=horizontal&original_referer=<?php</a> the_permalink(); ?>&text= Fatal error: Call to undefined function: the_title() in /in/3BkiD on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<div class="snsshare"><a id="share_fb" href="<a href="http://www.facebook.com/share.php?u=<?php" target="_blank" rel="noreferrer" style="cursor:help;display:inline !important;">http://www.facebook.com/share.php?u=<?php</a> the_permalink(); ?>"onclick="window.open(this.href, 'FBwindow', 'width=650, height=450, menubar=no, toolbar=no, scrollbars=yes'); return false;">Facebookでシェア</a> <a id="share_tw" href="<a href="http://twitter.com/share?count=horizontal&original_referer=<?php" target="_blank" rel="noreferrer" style="cursor:help;display:inline !important;">http://twitter.com/share?count=horizontal&original_referer=<?php</a> the_permalink(); ?>&text= Fatal error: Call to undefined function: the_title() in /in/3BkiD on line 3