Req #76064 [NEW]: Give me client-side php
| From: | rob_neal at rocketmail dot com | Date: | Wed, 07 Mar 2018 18:21:29 +0000 |
| Subject: | Req #76064 [NEW]: Give me client-side php | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-214232@lists.php.net to get a copy of this message | ||
From: rob_neal at rocketmail dot com
Operating system: all
PHP version: 7.2.3
Package: *General Issues
Bug Type: Feature/Change Request
Bug description:Give me client-side php
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 bug report at https://bugs.php.net/bug.php?id=76064&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76064&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76064&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76064&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76064&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76064&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76064&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76064&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76064&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76064&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76064&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76064&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76064&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76064&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76064&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76064&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76064&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76064&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76064&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76064&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76064&r=mysqlcfg