Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version | System time (s) | User time (s) | Memory (MiB) |
---|---|---|---|
8.4.8 | 0.005 | 0.005 | 19.06 |
<?php
class Pizza {
public float $property1 = 9;
// On set the temperature is set, so is property1
public float $temperature = 10 {
get { return $this->temperature; }
set (float $value) => $this->property1 = $value;
}
//Default value is ignored, makes sense but unexpected
public float $temperature2 = 12 {
get { return $this->temperature; }
set (float $value) => $this->temperature = $value;
}
}
$pizza = new Pizza();
var_dump($pizza->temperature);
var_dump($pizza->temperature2);
$pizza->temperature = 11;
var_dump($pizza->temperature);
var_dump($pizza->property1);
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version | System time (s) | User time (s) | Memory (MiB) |
---|---|---|---|
8.4.8 | 0.005 | 0.005 | 19.06 |