I am a programmer with about 5 years of experience in PHP but very new to Laravel (or MVCs) and I just started learning Laravel 5 thorough the Laracasts.
While going through the video Passing Data Into Views, I came across the code <?= $name; ?>
which performed the same task as <?php echo $name; ?>
would do. Have I missed this usage all this time in PHP or is it something new? Or is it specific to Laravel?
Also, is it considered a good practice to use this syntax to print rather than using echo
?
EDIT: I know what it does, I tested it. I was curious as to its usage and/or practice. Thanks for all the answers!