This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is a fork of the gist from this blog post.
package main | |
import ( | |
"fmt" | |
"math" | |
"strconv" | |
"strings" | |
) | |
func main() { |
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
* { | |
font-family: Arial, sans-serif; | |
} | |
.issue { | |
text-align: left; | |
width: 700px; |
#include <stdio.h> | |
#include <limits.h> | |
typedef struct _zval_struct zval; | |
typedef struct _zend_object { | |
int *ce; | |
int *properties; | |
zval **properties_table; | |
int *guards; |
<?php | |
$stops = [ | |
1 => 'A', | |
2 => 'B', | |
3 => 'C', | |
4 => 'D', | |
5 => 'E', | |
6 => 'F', | |
7 => 'H', |
<?php | |
$taxes = [ | |
[ | |
'country_id' => 'a', | |
'value' => 42, | |
'type' => 't1', | |
], | |
[ | |
'country_id' => 'a', |
<?php | |
declare(strict_types = 1); | |
use PhpBench\Benchmark\Metadata\Annotations\BeforeMethods; | |
use PhpBench\Benchmark\Metadata\Annotations\Revs; | |
require 'vendor/autoload.php'; | |
/** |