php curly braces into array
- by David
Hi, I would like to check a opened .txt file for braces that open and close like below:
file {
nextopen {
//content
}
}
no this is not my own language or anything, but I want to get say the nextopen function and all the contents inside the brackets, and all the stuff from inside the file function and add it to an array if you know what i mean. so all the content inside the braces will be in an array. if you know how to do this please reply.