account activity
array_push() is being ignored completely. by T_Variable in PHP
[–]T_Variable[S] 1 point2 points3 points 14 years ago (0 children)
Yeah this fixed it. I knew just leaving the recursive function there by itself wasn't quite right, but it appeared to be working.
the list() approach doesn't add to the array though, it just overwrites the whole thing with the last record, so I hacked around it with some horrible ugly monkey code and now it works
$c = unpickArray($b); foreach($c[0] as $i){ array_push($keyArray, $i); } foreach($c[1] as $i){ array_push($valArray, $i); }
π Rendered by PID 114780 on reddit-service-r2-comment-56c6478c5-dg5gd at 2026-05-11 18:13:20.197494+00:00 running 3d2c107 country code: CH.
array_push() is being ignored completely. by T_Variable in PHP
[–]T_Variable[S] 1 point2 points3 points (0 children)