Bug #70044 [NEW]: Magic __set not getting called
| From: | landers dot robert at gmail dot com | Date: | Sat, 11 Jul 2015 07:14:57 +0000 |
| Subject: | Bug #70044 [NEW]: Magic __set not getting called | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-194324@lists.php.net to get a copy of this message | ||
From: landers dot robert at gmail dot com
Operating system: Docker/Ubuntu
PHP version: 7.0.0beta1
Package: Unknown/Other Function
Bug Type: Bug
Bug description:Magic __set not getting called
Description:
------------
After banging my head for a bit, I've discovered that my magic __set
wasn't getting called. Magic function not being called, see:
https://github.com/WickedMonkeySoftware/appti2ude/commit/80e36c00a440dbe0e1a31ad75c14aee275aeba0a#diff-af625482fd8d321b53c4003a64bc2c7cR173
Test script:
---------------
I've already highlighted the exact function in that link. To reproduce:
git clone git@github.com:WickedMonkeySoftware/appti2ude.git appti2ude
cd appti2ude
composer install (doesn't do anything)
./develop.sh
visit webpage/ip
develop.sh requires docker, you can also just point a vhost at the
cloned directory and hit index.php.
Expected result:
----------------
You should see output along the lines of "Set $var" in the output.
--
Edit bug report at https://bugs.php.net/bug.php?id=70044&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70044&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70044&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70044&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70044&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70044&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70044&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70044&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70044&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70044&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70044&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70044&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70044&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70044&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70044&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70044&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70044&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70044&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70044&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70044&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70044&r=mysqlcfg