Bug #70044 [Opn->Fbk]: Magic __set not getting called
| From: | requinix@php.net | Date: | Sat, 11 Jul 2015 07:32:17 +0000 |
| Subject: | Bug #70044 [Opn->Fbk]: Magic __set not getting called | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-194325@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70044&edit=1
ID: 70044
Updated by: requinix@php.net
Reported by: landers dot robert at gmail dot com
Summary: Magic __set not getting called
-Status: Open
+Status: Feedback
Type: Bug
Package: Unknown/Other Function
Operating System: Docker/Ubuntu
PHP Version: 7.0.0beta1
Block user comment: N
Private report: N
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2015-07-11 07:14:56] landers dot robert at gmail dot com
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 this bug report at https://bugs.php.net/bug.php?id=70044&edit=1