I got into a conversation with a coworker and we talked about reflection in PHP language. I insisted that instantiating instances of class using variable variables syntax like following is a reflective technique.
<?php $className = 'Animal'; $animal = new $className;
My coworker differed in opinion. I did extensive google search and even read this wikipedia article on reflection. However, to my surprise none of the resources explicitly mentions that this technique is an example of reflection. All I get while doing search is references and examples to Reflection API.
So can someone answer weather this technique is an example of reflection. Also if possible, please point out an authoritative source which explicitly states this.