View readme.md

What I want to achieive.

→ SASS to CSS → ES6 transpiler → Linting → Bundle/Minify/Map JS/CSS → Live Reload

View calculate-average-results-php5.6.php
<?php
$values[1][] = 0.016074895858765;
$values[2][] = 0.0041680335998535;
$values[3][] = 0.0036661624908447;
$values[4][] = 0.0032379627227783;
$values[5][] = 0.0066549777984619;
$values[6][] = 0.0020120143890381;
$values[1][] = 0.017127990722656;
$values[2][] = 0.0040631294250488;
$values[3][] = 0.0030689239501953;
View results-php5.6.txt
php 5.6
PS F:\> docker run -it --rm --name benchmark-script -v "/f/benchmark:/usr/src/benchmark" -w /usr/src/benchmark php:5.6-cli php for-vs-foreach.php
1- Completed in 0.016074895858765 Seconds
2- Completed in 0.0041680335998535 Seconds
3- Completed in 0.0036661624908447 Seconds
4- Completed in 0.0032379627227783 Seconds
5- Completed in 0.0066549777984619 Seconds
6- Completed in 0.0020120143890381 Seconds
PS F:\> docker run -it --rm --name benchmark-script -v "/f/benchmark:/usr/src/benchmark" -w /usr/src/benchmark php:5.6-cli php for-vs-foreach.php
View benchmark-for-vs-foreach.php
<?php
$a = array();
for ($i = 0; $i < 100000; $i++) {
$a[] = $i;
}
$start = microtime(true);
foreach ($a as $k => $v) {
$a[$k] = $v + 1;
}
View convertSameCaracterToSameAscii.php
<?php
/*
* Accept array or string
*/
function convertSameCaracterToSameAscii($string)
{
$tab_chr = array() ;
for($control = 0; $control < 32; $control++) {
if ($control != 9 && $control != 10) {
$tab_chr[]= chr($control) ;
View Inet6Aton.php
<?php
// public_html/cake/src/Database
namespace App\Database;
// Our value object is immutable.
class Inet6Aton
{
protected $_value;
public function __construct($value)
View getClosestLowerValue
<?php
function valueExpected ($analyse, $expect, $strict = false)
{
if ($strict)
{
if ($analyse === $expect)
{
return '<span style="background-color:darkolivegreen; color:darkgrey;">Received : ' .
$analyse .
', Expected : ' .
View wpex_pagination
/*
* Numbered Pagination
* http://www.wpexplorer.com/pagination-wordpress-theme/
*/
if ( !function_exists( 'wpex_pagination' ) ) {
function wpex_pagination($wpex_query) {
$prev_arrow = is_rtl() ? '&rarr;' : '&larr;';
$next_arrow = is_rtl() ? '&larr;' : '&rarr;';
/*