Fou-Lu
10-01-2004, 08:42 PM
This is the first I've seen code structured this way. I just want to know if anyone knows how it works, and if its a standard php property of some sorts.
Anyway, its in the vB 3.x, I've noticed every once and awhile when the functions return a cache, its structured like so:
$whatevercache["{$variable1}-{$variable2}"] = $whateveritis.
Anybody know exactly what this does, or is it something simple like adding {prefix} in front of table queries? What I mean, is this something that jelsoft is using with customized functions, or is this something that php does predefined? If the latter, how does it work, and what is its benefits?
Anyway, its in the vB 3.x, I've noticed every once and awhile when the functions return a cache, its structured like so:
$whatevercache["{$variable1}-{$variable2}"] = $whateveritis.
Anybody know exactly what this does, or is it something simple like adding {prefix} in front of table queries? What I mean, is this something that jelsoft is using with customized functions, or is this something that php does predefined? If the latter, how does it work, and what is its benefits?