<https://stackoverflow.com/a/1676911/6677606>
# chat
v
b
thanks
v
Χαρά μου 🙂 Συνήθως το βλέπω σε κάτι
hook_query_alter
ή
hook_views_query_alter
που πάω και κάνω
$where = &$query->getConditions()
. Γιατί δεν έχει setter.
s
Άρα είναι δείκτης;
v
C pointer. Σωστά
b
παρακατω στο link σου λεει:
A reference in PHP is simply another name assigned to the content of a variable. PHP references are not like pointers in C programming, they are not actual memory addresses, so they cannot be used for pointer arithmetics.
s
👀
v
Άρα δεν είναι Γιάννης. Είναι Γιαννάκης. Φαινομενικά ειδοποιός διαφορά αλλά μας βοηθάει να το αντιληφθούμε.
👍 1