This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Myako\Geographical\Functions; | |
use Doctrine\ORM\Query\AST\Functions\FunctionNode; | |
use Doctrine\ORM\Query\Lexer; | |
/** | |
* "DISTANCE" "(" LatitudeFrom, LongitudetFrom, LatitudeTo, LongitudeTo ")" | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Base62: A class to convert a number from any base between 2-62 to any other base between 2-62 | |
* It doesn't use BC Math functions so works without the use of BC Math library. | |
* It uses the native base_convert functions when the base is below 36 for faster execution. | |
* The output number is backward compatible with the native base_convert function. | |
* | |
* Author : Lalit Patel | |
* Website: http://www.lalit.org/lab/base62-php-convert-number-to-base-62-for-short-urls | |
* License: Apache License 2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Collections; | |
use Doctrine\Common\Collections\ArrayCollection; | |
use Symfony\Component\PropertyAccess\PropertyAccess; | |
class ExtendedArrayCollection extends ArrayCollection | |
{ | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$sites = "http://www.broadcastsolutions.com.au/ | |
http://www.kvm.com.au/ | |
http://www.ambertech.com.au/"; | |
$sites = preg_split('/\r\n|\r|\n/', $sites); | |
echo " |