Today , i've seen some wiered syntax of PHP .
$x="{${phpinfo()}}";
Try to execute the above code and Bammm you will see the phpinfo() is getting executed , My eye brows got raised. however i've declared $x
variable as string.
Look this vulnerability PHP code found in the Ebay. I am wondering how this got executed.
http://www.secalert.net/2013/12/13/ebay-remote-code-execution/