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
| for f in *; do a=$(echo $f | cut -d '_' --output-delimiter='/' -f 2-); b=$(dirname $a); mkdir -p $b; mv $f $a; done |