- $this->bench( array(
- array( 'function' => array( $this, 'doElseIf' ) ),
- array( 'function' => array( $this, 'doSwitch' ) ),
- ) );
- print $this->getFormattedResults();
+ $this->bench( [
+ [ 'function' => [ $this, 'doElseIf' ] ],
+ [ 'function' => [ $this, 'doSwitch' ] ],
+ ] );