Req #76064 [Opn->Csd]: Give me client-side php
| From: | daverandom@php.net | Date: | Wed, 07 Mar 2018 18:51:46 +0000 |
| Subject: | Req #76064 [Opn->Csd]: Give me client-side php | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-214233@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76064&edit=1
ID: 76064
Updated by: daverandom@php.net
Reported by: rob_neal at rocketmail dot com
Summary: Give me client-side php
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: *General Issues
Operating System: all
PHP Version: 7.2.3
-Assigned To:
+Assigned To: daverandom
Block user comment: N
Private report: N
New Comment:
The PHP project has no control over whether browsers decide to implement this -
which they won't, for reasons that are too numerous to detail here.
If you wish to pursue this, you need to take it up with the developers of web browsers.
Previous Comments:
------------------------------------------------------------------------
[2018-03-07 18:21:24] rob_neal at rocketmail dot com
Description:
------------
JavaScript is great, flexible, powerful, widely useful. It just works and just about everywhere.
Even now it works on the server (node.js; etc?) You can implement OOP using JS. But php is awesome
too. I'd argue more awesome. I believe, unless I've missed something new and great and in
the works, that php is still shackled to the server (yes, it is, as of this post). Why!-why I tell
you! Give me php on the client-side! Let me run it in the browser! Let me have all those
latest-and-greatest features provided by php 7 in the browser! Let me stop having to pay attention
to my concatenation operators ("." and "+") and more importantly go with a
single language syntax. Let's see...do I ".push(val)" that element into my array or
do I do a "[ ]=$val;". Dollar signs in front of my variables? Ugh. Let me type-hint for
function args/parameters and return values. Let me create an object-hierarchy on the client-side
without some crazy work-around to achieve object-member scope/visibility!
/hiding. I admit, my code-base is invested heavily in php. But php is damn good also. JavaScript
runs on the server now. Why doesn't PHP run on the browser now. Let's get that damn
library running. I know it's doable since I can run XAMPP on my local machine. Please put that
PHP engine in the browser.
Expected result:
----------------
Heavenly.
Actual result:
--------------
Void.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76064&edit=1