php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #46983 Overhaul PHP code so it's more like the English language
Submitted: 2008-12-31 03:33 UTC Modified: 2008-12-31 09:39 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: ryan14 at mail dot com Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: 5.3.0alpha3 OS: Windows/Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ryan14 at mail dot com
New email:
PHP Version: OS:

 

 [2008-12-31 03:33 UTC] ryan14 at mail dot com
Description:
------------
Currently PHP code is very hard to understand for beginners because it is nothing like the English language. PHP is currently like learning another language.

For example, to output some text onto a webpage, PHP uses this code:

<?php
echo "Hello World";
?>

Now for a person who doesn't know PHP, they are wondering what "echo" means.
 So to make this PHP code more like the English language we could use the word "display" so the code would look like this:

<?php
display "Hello World";
?>

So any person who has never seen PHP code before would know it means to display the text 'hello world'.

Another example is the "if" condition which means the code to be executed if condition is true. Instead of using "if", why not use the word "true".

So all of the PHP code should get an overhaul and make it more like the English language.


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 06:01:35 2024 UTC