T
T
Turar Abu2015-09-20 17:27:41
PHP
Turar Abu, 2015-09-20 17:27:41

PHP variables like in JSON or JS?

In JSON or JS format it is possible to use view variables
foo.second
or
$foo.first.$second
How can I implement this in PHP? I saw such an opportunity in Smarty but I don’t know how to do it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DVamp1r3, 2015-09-20
@DVamp1r3

stdClass ($object->property = value)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question