3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output for 8.0.30, 8.1.22 - 8.1.32, 8.2.9 - 8.2.28, 8.3.0 - 8.3.19, 8.4.1 - 8.4.5
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <script type="text/javascript"> //... function printJSPage() { var printwin=window.open('','haha','top=100,left=100,width=800,height=600'); printwin.document.writeln(' <table border="0" cellspacing="5" cellpadding="0" width="100%">'); printwin.document.writeln(' <tr>'); printwin.document.writeln(' <td align="left" valign="bottom">'); //... printwin.document.writeln(''); //... } </script> </head> </html>
Output for 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.29, 8.1.0 - 8.1.21, 8.2.0 - 8.2.8
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html><head><script type="text/javascript"> //... function printJSPage() { var printwin=window.open('','haha','top=100,left=100,width=800,height=600'); printwin.document.writeln(' <table border="0" cellspacing="5" cellpadding="0" width="100%">'); printwin.document.writeln(' <tr>'); printwin.document.writeln(' <td align="left" valign="bottom">'); //... printwin.document.writeln(''); //... } </script></head></html>

preferences:
139.49 ms | 416 KiB | 5 Q