You should download each of the three versions of Symfony2 in
/var/www/benchmark/sf2<X>
where <X>
is the minor version.
Then
chmod +x benchmark.sh
sudo ./benchmark.sh
<?php | |
$thefeels = new Feelings(); | |
function sad() { | |
global $thefeels; | |
return $thefeels->is_checked() ? $thefeels : $thefeels->is_sad(); | |
} | |
class Feelings { | |
private $sad = true; | |
private $feelings_checked = false; | |
public function is_sad() { |
You should download each of the three versions of Symfony2 in
/var/www/benchmark/sf2<X>
where <X>
is the minor version.
Then
chmod +x benchmark.sh
sudo ./benchmark.sh