What does a piece of PHP code mean?

Source: Internet
Author: User
What does a piece of PHP code mean? I saw a piece of PHP code on the internet. since I have never learned PHP, I don't know what it means. please help me explain it ......
 [{"text": "1. Pre Lunch (120 min)","expanded": true,"classes": "important","children":[{"text": "1.1 The State of the Powerdome (30 min)"}, {"text": "1.2 The Future of jQuery (30 min)"}, {"text": "1.2 jQuery UI - A step to richnessy (60 min)"}]},{"text": "2. Lunch  (60 min)"},{"text": "3. After Lunch  (120+ min)","children":[{"text": "3.1 jQuery Calendar Success Story (20 min)"}, {"text": "3.2 jQuery and Ruby Web Frameworks (20 min)"}, {"text": "3.3 Hey, I Can Do That! (20 min)"}, {"text": "3.4 Taconite and Form (20 min)"}, {"text": "3.5 Server-side JavaScript with jQuery and AOLserver (20 min)"}, {"text": "3.6 The Onion: How to add features without adding features (20 min)","id": "36","hasChildren": true}, {"text": "3.7 Visualizations with JavaScript and Canvas (20 min)"}, {"text": "3.8 ActiveDOM (20 min)"}, {"text": "3.8 Growing jQuery (20 min)"}]}]
 [{"text": "1. Review of existing structures","expanded": true,"children":[{"text": "1.1 jQuery core"}, {"text": "1.2 metaplugins"}]},{"text": "2. Wrapper plugins"},{"text": "3. Summary"},{"text": "4. Questions and answers"}]
 


Reply to discussion (solution)

Php code is in the middle

Others are strings in json format

Json data seems to be being pieced together

I really want to know what the code is. is it javascript?

This is basically not php
The vast majority of the entire file is json

....
?>
Php is in this symbol. you embed php into json, and php plays a judgment role.

If you pass the root parameter
Generate a json data
Otherwise, the nap will generate another json data

This json data will be processed by another js.

Out of context, this is meaningless code

Isn't this a table?
Okay, I'm a beginner =

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.