<?php namespace A; class B {} $str = "B"; $b = new $str;
Standard input is empty
Standard output is empty
PHP Fatal error: Uncaught Error: Class 'B' not found in /home/V56VIS/prog.php:6
Stack trace:
#0 {main}
thrown in /home/V56VIS/prog.php on line 6