Skip to content

Instantly share code, notes, and snippets.

@wgh000
wgh000 / province.php
Last active May 18, 2021 15:52
Province Italia - Array PHP
<?php
$province= array(
'AG' => 'Agrigento',
'AL' => 'Alessandria',
'AN' => 'Ancona',
'AO' => 'Aosta',
'AR' => 'Arezzo',
'AP' => 'Ascoli Piceno',
'AT' => 'Asti',
'AV' => 'Avellino',
@wgh000
wgh000 / countries.php
Created April 29, 2014 12:26
Nazioni Mondo - Array PHP
<?php
$countries = array(
'AD' => 'Andorra',
'AE' => 'United Arab Emirates',
'AF' => 'Afghanistan',
'AG' => 'Antigua &amp; Barbuda',
'AI' => 'Anguilla',
'AL' => 'Albania',
'AM' => 'Armenia',
'AN' => 'Netherlands Antilles',
@wgh000
wgh000 / comuni_cap_italia.sql
Created May 5, 2014 08:24
Comuni e CAP italiani
# ************************************************************
# Generation Time: 2014-05-05 08:24:08 +0000
# ************************************************************
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
@wgh000
wgh000 / american_states.php
Last active June 12, 2020 11:59
List of the 50 states of United States
<?php
$states = array(
'Alabama',
'Alaska',
'Arizona',
'Arkansas',
'California',
'Colorado',
'Connecticut',
'Delaware',
@wgh000
wgh000 / american_states_with_code.php
Created March 21, 2017 11:33
List of 50 states of United States with code
$statesArray = array(
'AL' => 'Alabama',
'AK' => 'Alaska',
'AZ' => 'Arizona',
'AR' => 'Arkansas',
'CA' => 'California',
'CO' => 'Colorado',
'CT' => 'Connecticut',
'DE' => 'Delaware',
'DC' => 'District Of Columbia',
@wgh000
wgh000 / code-review-checklist.md
Last active August 18, 2019 12:37 — forked from nerandell/code-review-checklist.md
PHP Code Review Guidelines

Make sure these boxes are checked before submitting the PR

General

  • The code works
  • The code is easy to understand
  • Follows coding conventions PSR-1 and PSR-2
  • Declared variables are used
  • Variable names are simple, short and spelt correctly
  • No negatively named boolean variables
  • Variable names contain units where applicable