Skip to content

Instantly share code, notes, and snippets.

Ajit ajitdev

Block or report user

Report or block ajitdev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ajitdev
ajitdev / http_response_codes.php
Created May 23, 2014
List of HTTP response code with description
View http_response_codes.php
<?php
$responses = array(
100 => 'Continue',
101 => 'Switching Protocols',
200 => 'OK',
201 => 'Created',
202 => 'Accepted',
203 => 'Non-Authoritative Information',
204 => 'No Content',
@ajitdev
ajitdev / number_suffix.php
Last active May 29, 2017
Add st, nd, rd, th after the number.
View number_suffix.php
<?php
/**
* Function which return the number with appropriate suffix.
*
* @param : $num
* The integer number for which suffix is to be added.
*
* @return : suffixed number
*/
You can’t perform that action at this time.