Amazing trick by PHP
You can use composition of variables. I don’t how it can be useful, but the following code is valid:
<?php
/*
Online PHP Examples with Source Code
website: http://4evertutorials.blogspot.in/
*/
${‘a’ . ‘b’} = ‘c’;
echo $ab; // it will output c
?>






0 comments:
Post a Comment