#46983 [Opn->WFx]: Overhaul PHP code so it's more like the English language

From: Date: Wed, 31 Dec 2008 09:39:20 +0000
Subject: #46983 [Opn->WFx]: Overhaul PHP code so it's more like the English language
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-132443@lists.php.net to get a copy of this message
 ID:               46983
 Updated by:       derick@php.net
 Reported By:      ryan14 at mail dot com
-Status:           Open
+Status:           Wont fix
 Bug Type:         Feature/Change Request
 Operating System: Windows/Linux
 PHP Version:      5.3.0alpha3


Previous Comments:
------------------------------------------------------------------------

[2008-12-31 03:33:07] 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.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=46983&edit=1



Thread (2 messages)

« previous php.bugs (#132443) next »