This is nothing much, and is hardly even a tutorial, but I've recently started a new project and come across something on the Internet about PHP.
It is to do with echoing/printing strings on the screen, usually you would do:
Well I've now been told to do it like this because apparently it is quite a lot quicker than using periods (.):
It does exactly the same job, but apparently it is quicker.
It is to do with echoing/printing strings on the screen, usually you would do:
PHP:
<?php
$first = "Mark";
$last = "Eriksson";
echo $first . " " . $last; //output: Mark Eriksson
?>
Well I've now been told to do it like this because apparently it is quite a lot quicker than using periods (.):
PHP:
<?php
$first = "Mark";
$last = "Eriksson";
echo $first , " " , $last; //output: Mark Eriksson
?>
It does exactly the same job, but apparently it is quicker.