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 | |
$hellos = ['hi', 'hey']; | |
$separators = [ | |
' ', | |
', ', | |
' - ', | |
'... ', | |
'.. ', |
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 | |
require_once __DIR__ . '/../../vendor/autoload.php'; | |
use BetterReflection\Reflector\ClassReflector; | |
use BetterReflection\SourceLocator\AggregateSourceLocator; | |
use BetterReflection\SourceLocator\SingleFileSourceLocator; | |
use PhpParser\PrettyPrinter\Standard as CodePrinter; | |
// Create the reflection first (without loading) |
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
SELECT | |
/* user */ users.id AS user_id, first_name, last_name, email, company, twitter, airport, url, transportation, hotel, info, bio, | |
/* talk */ talks.id AS talk_id, title, description, other, type, level, category, slides, desired, sponsor | |
FROM `talks`, `users` | |
WHERE talks.user_id = users.id |
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 | |
abstract class AbstractController | |
{ | |
public function dispatch($action) | |
{ | |
$actionName = $action . "Action"; | |
if (!method_exists($this, $actionName)) | |
{ |
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 Vendor\Form; | |
use Zend\Form\Form; | |
use Zend\Form\Element; | |
use Zend\Form\Annotation\InputFilter; | |
use Zend\InputFilter\InputFilterProviderInterface; | |
class MyForm extends Form implements InputFilterProviderInterface |
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
;;; Provided courtesy of https://browsers.garykeith.com | |
;;; Created on Monday, July 29, 2013 at 10:22 PM UTC | |
;;; Keep up with the latest goings-on with the project: | |
;;; Follow us on Twitter <https://twitter.com/browscap>, or... | |
;;; Like us on Facebook <https://facebook.com/browscap>, or... | |
;;; Collaborate on GitHub <https://github.com/GaryKeith/browscap>, or... | |
;;; Discuss on Google Groups <https://groups.google.com/d/forum/browscap>. | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Browscap Version |
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 My\Logger; | |
use Psr\Log\LoggerInterface; | |
trait LoggerAwareTrait | |
{ | |
/** @var \Psr\Log\LoggerInterface */ | |
protected $logger; |
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 | |
require_once('shared.php'); | |
$user = 'james'; | |
$sig = generateSignature($user); | |
sleep(1); |
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
Requested: 281 UA: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0 | |
Requested: 72 UA: Mozilla/5.0 (Windows NT 6.1; rv:25.0) Gecko/20100101 Firefox/25.0 | |
Requested: 60 UA: Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US) | |
Requested: 47 UA: Mozilla/5.0 (Windows NT 5.1; rv:25.0) Gecko/20100101 Firefox/25.0 | |
Requested: 44 UA: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0 | |
Requested: 35 UA: Mozilla/5.0 (Windows NT 6.0; rv:25.0) Gecko/20100101 Firefox/25.0 | |
Requested: 30 UA: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534+ (KHTML, like Gecko) BingPreview/1.0b | |
Requested: 28 UA: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0 | |
Requested: 20 UA: Mozilla/5.0 (MSIE 9.0; Windows NT 6.1; Trident/5.0) | |
Requested: 20 UA: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko Firefox/11.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
Mozilla/5.0 (Linux; U; Android 2.2.1; en-us; NOOK BNRV200 Build/ERD79 1.4.3) Apple WebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 | |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9) AppleWebKit/537.71 (KHTML, like Gecko) | |
VPNGate/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/DD460D | |
Mozilla/4.0 | |
Huawei/1.0/HUAWEI-G7300 Browser/Opera MMS/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 Opera/9.80 (MTK; U; en-US) Presto/2.5.28 Version/10.10 | |
CaptiveNetworkSupport-277 wispr | |
Mozilla/5.0 (compatible; aiHitBot/2.8; +http://endb-consolidated.aihit.com/) | |
SAMSUNG-GT-E2252/E2252DDLG2 NetFront/4.2 Profile/MIDP-2.0 Configuration/CLDC-1.1 | |
AT-AS40SE Linux/3.0.13 Android/4.0.4 Release/04.10.2013 Browser/AppleWebKit534.30 Profile/MIDP-2.0 Configuration/CLDC-1.1 Mobile Safari/534.30 Android 4.0.1; | |
LG-C395/V10e Obigo/Q7.3 Profile/MIDP-2.1 Configuration/CLDC-1.1 |