Req #76064 [Com]: Give me client-side php
| From: | spam2 at rhsoft dot net | Date: | Wed, 07 Mar 2018 19:10:08 +0000 |
| Subject: | Req #76064 [Com]: Give me client-side php | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-214234@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
Comment by: spam2 at rhsoft dot net
Reported by: rob_neal at rocketmail dot com
Summary: Give me client-side php
Status: Closed
Type: Feature/Change Request
Package: *General Issues
Operating System: all
PHP Version: 7.2.3
Assigned To: daverandom
Block user comment: N
Private report: N
New Comment:
frankly - how do you imagine a implementation of PHP in a browser given the ton of libraries it
depends on and how to make it secure given tons of functions dealing with local files nobody
want's to expose to a random website
won't happen in this life as it has no valid usecase in a browser
Previous Comments:
------------------------------------------------------------------------
[2018-03-07 18:51:44] daverandom@php.net
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.
------------------------------------------------------------------------
[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