Convert Dictionary To Anonymous Object in PHP
Example 1
var object = {
p : "value",
p1 : [ "john", "johnny" ]
};
alert(object.p1[1]);
Output
an alert is raised with value "johnny"
var object = {
p : "value",
p1 : [ "john", "johnny" ]
};
alert(object.p1[1]);
In this page (written and validated by A. Gawali) you learned about . What's Next? If you are interested in completing PHP tutorial, we encourage you simply to start here: PHP Tutorial.
Share On: |