Checked if the object I loaded…
24 04 2012Checked if the object I loaded simplexml_load_file into was an array. It apparently is something else. Which explains why I can’t reverse it
Tags : tweets
Categories : Twitter Archive
Checked if the object I loaded simplexml_load_file into was an array. It apparently is something else. Which explains why I can’t reverse it
@byersalex No, I get back “array_reverse() expects parameter 1 to be array.” Which makes no sense because I can do stuff with it elsewhere.
There’s no reason this shouldn’t work. I can print the array and I can perform operations on it, but for some reason I can’t reverse it.
For some reason it refuses to take the XML-become-array pulled in from simplexml_load_file and recognize it as an array in the statement.
For some reason it refuses to take the XML-become-array pulled in from simplexml_load_file and recognize it as an array in the statement.
Playing w/ PHP and it Will Not Work. Pushing and prodding various parts and have discovered that array_reverse is not working. Why? No idea.
Playing w/ PHP and it Will Not Work. Pushing and prodding various parts and have discovered that array_reverse is not working. Why? No idea.
Step by step: how to start in a data journalist role. http://t.co/XJPxVsfn
A Progress Report on a College Paper’s Pioneering Metered Pay Wall. http://t.co/uD4FTl4f
The Programmer-Reporter. http://t.co/yNQprn0I