- Output for git.master, git.master_jit
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Using Tabs With PHP</title> <style> .link{ font-family:tahoma; font-size:11px; font-weight:bold; color:white; text-decoration:none; } </style> </head> <body> <? $id=$_REQUEST['id']; $links=array(); $links[]="Home"; $links[]="Services"; $links[]="Products"; $links[]="Downloads"; $links[]="Contact Us"; $total_links=count($links); ?> <table cellpadding="0px" cellspacing="0"> <tr> <td width="30px"> </td> <? for($i=0;$i<$total_links;$i++){ if($i+1==$id){ ?> <td style="padding-left:3px"> <table cellpadding="0" cellspacing="0"> <tr height="28px"> <td width="15px"><img src="images/selected-left.gif" /></td> <td style="background-image:url(images/selected.gif);" class="link"> Warning: Undefined variable $links in /in/mvNN8 on line 50 Warning: Undefined variable $i in /in/mvNN8 on line 50 Warning: Trying to access array offset on value of type null in /in/mvNN8 on line 50 </td> <td width="15px"><img src="images/selected-right.gif" /></td> </tr> </table> </td> <? } else { ?> <td style="padding-left:3px"> <table cellpadding="0" cellspacing="0"> <tr height="28px"> <td width="13px"><img src="images/tab-left.gif" /></td> <td style="background-image:url(images/tab.gif);"><a href="?id= Warning: Undefined variable $i in /in/mvNN8 on line 64 1" class="link"> Warning: Undefined variable $links in /in/mvNN8 on line 64 Warning: Undefined variable $i in /in/mvNN8 on line 64 Warning: Trying to access array offset on value of type null in /in/mvNN8 on line 64 </a></td> <td width="13px"><img src="images/tab-right.gif" /></td> </tr> </table> </td> <? } // else end } //for end ?> <td width="30px"> </td> </tr> <tr> <td colspan=" Warning: Undefined variable $total_links in /in/mvNN8 on line 79 2" bgcolor="#1895D5"> </td> </tr> <tr> <td colspan=" Warning: Undefined variable $total_links in /in/mvNN8 on line 83 2" style="border:1px #1895D5 solid;"> <h1 style="color:#1895D5">The text for linkid Warning: Undefined variable $id in /in/mvNN8 on line 84 goes here ...</h1> </td> </tr> </table> </body> </html>
- Output for rfc.property-hooks
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Using Tabs With PHP</title> <style> .link{ font-family:tahoma; font-size:11px; font-weight:bold; color:white; text-decoration:none; } </style> </head> <body> <? $id=$_REQUEST['id']; $links=array(); $links[]="Home"; $links[]="Services"; $links[]="Products"; $links[]="Downloads"; $links[]="Contact Us"; $total_links=count($links); ?> <table cellpadding="0px" cellspacing="0"> <tr> <td width="30px"> </td> <? for($i=0;$i<$total_links;$i++){ if($i+1==$id){ ?> <td style="padding-left:3px"> <table cellpadding="0" cellspacing="0"> <tr height="28px"> <td width="15px"><img src="images/selected-left.gif" /></td> <td style="background-image:url(images/selected.gif);" class="link"> Warning: Undefined variable $links in /in/mvNN8 on line 50 Warning: Undefined variable $i in /in/mvNN8 on line 50 Warning: Trying to access array offset on null in /in/mvNN8 on line 50 </td> <td width="15px"><img src="images/selected-right.gif" /></td> </tr> </table> </td> <? } else { ?> <td style="padding-left:3px"> <table cellpadding="0" cellspacing="0"> <tr height="28px"> <td width="13px"><img src="images/tab-left.gif" /></td> <td style="background-image:url(images/tab.gif);"><a href="?id= Warning: Undefined variable $i in /in/mvNN8 on line 64 1" class="link"> Warning: Undefined variable $links in /in/mvNN8 on line 64 Warning: Undefined variable $i in /in/mvNN8 on line 64 Warning: Trying to access array offset on null in /in/mvNN8 on line 64 </a></td> <td width="13px"><img src="images/tab-right.gif" /></td> </tr> </table> </td> <? } // else end } //for end ?> <td width="30px"> </td> </tr> <tr> <td colspan=" Warning: Undefined variable $total_links in /in/mvNN8 on line 79 2" bgcolor="#1895D5"> </td> </tr> <tr> <td colspan=" Warning: Undefined variable $total_links in /in/mvNN8 on line 83 2" style="border:1px #1895D5 solid;"> <h1 style="color:#1895D5">The text for linkid Warning: Undefined variable $id in /in/mvNN8 on line 84 goes here ...</h1> </td> </tr> </table> </body> </html>
This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.
Active branches
Archived branches
Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page
- 2020-03-21 RFC: Is_Literal - declined
- 2020-12-04 Enumerations - included in PHP 8.1
- 2018-06-15 Typed Properties v2 - implemented in PHP 7.4
- 2016-08-12 Object typehint - included in PHP 7.2
- 2016-08-14 Arrow functions - withdrawn
- 2016-05-29 array_change_keys() - withdrawn
- 2016-04-19 Lexical scope support for anonymous classes - suspended
- 2016-04-17 Functional Interfaces - declined
- 2016-03-16 Typed Properties - superseded in favor of Typed Properties 2.0
- 2015-08-27 Callable Prototypes - declined
- 2015-05-01 Short Closures - declined / withdrawn in favor of Arrow Functions
- 2015-02-18 Scalar type hints v5 - included in PHP 7
- 2015-02-14 Union Types - declined
- 2013-09-22 Anonymous classes - included in PHP 7