This file contains hidden or 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
Psy Shell v0.7.2 (PHP 7.1.0 — cli) by Justin Hileman | |
>>> class StaticParent | |
... { | |
... public static $catchAll = 'this is initial value'; | |
... } | |
=> null | |
>>> class ChildOne extends StaticParent | |
... {} | |
=> null | |
>>> class ChildTwo extends StaticParent |
This file contains hidden or 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
zarko:unfinished/ (master) $ vagrant up [13:21:07] | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install... | |
default: Box Provider: virtualbox | |
default: Box Version: >= 0 | |
==> default: Loading metadata for box 'ubuntu/trusty64' | |
default: URL: https://atlas.hashicorp.com/ubuntu/trusty64 | |
==> default: Adding box 'ubuntu/trusty64' (v20161121.0.0) for provider: virtualbox | |
default: Downloading: https://atlas.hashicorp.com/ubuntu/boxes/trusty64/versions/20161121.0.0/providers/virtualbox.box | |
==> default: Successfully added box 'ubuntu/trusty64' (v20161121.0.0) for 'virtualbox'! |
This file contains hidden or 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 | |
class DateTimeImmutabilityExample | |
{ | |
private $date; | |
/** | |
* Intentionaly no type hinting so you can test with both DateTime and DateTimeImmutable | |
*/ | |
public function __construct($date) |
This file contains hidden or 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 | |
interface EntityInterface | |
{ | |
/** | |
* @param VisitorInterface $visitor | |
*/ | |
public function accept(VisitorInterface $visitor); | |
} |
This file contains hidden or 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
<snippet> | |
<content><![CDATA[ | |
public function set${1/(\w)/(\u$1)/}(\$$1) | |
{ | |
\$this->$1 = \$$1; | |
return \$this; | |
} | |
]]></content> | |
<tabTrigger>setter</tabTrigger> |
This file contains hidden or 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
<snippet> | |
<content><![CDATA[ | |
public function get${1/(\w)/(\u$1)/}() | |
{ | |
return \$this->$1; | |
} | |
]]></content> | |
<tabTrigger>getter</tabTrigger> | |
</snippet> |
This file contains hidden or 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 -r 'var_dump('test' instanceof \Exception);' | |
bool(false) | |
$ php -r 'var_dump(null instanceof \Exception);' | |
Fatal error: instanceof expects an object instance, constant given in Command line code on line 1 | |
$ php -r 'var_dump(1234 instanceof \Exception);' | |
Fatal error: instanceof expects an object instance, constant given in Command line code on line 1 | |
$ php -r 'var_dump(array() instanceof \Exception);' | |
bool(false) |
This file contains hidden or 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
➜ chess.com-master git:(ZS/fix-v3-v2-messages) whois belgradejs.org | |
Domain Name:BELGRADEJS.ORG | |
Domain ID: D169353928-LROR | |
Creation Date: 2013-08-03T09:21:01Z | |
Updated Date: 2013-10-03T03:45:50Z | |
Registry Expiry Date: 2014-08-03T09:21:01Z | |
Sponsoring Registrar:Domainclub.com, LLC (R1761-LROR) | |
Sponsoring Registrar IANA ID: 880 | |
WHOIS Server: | |
Referral URL: |
This file contains hidden or 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
[docs] SyliusShippingBundle | |
SyliusWebBundle | |
[docs] SyliusVariableProductBundle | |
[docs] SyliusTaxonomiesBundle | |
[docs] SyliusTaxationBundle | |
[docs] SyliusSettingsBundle | |
[docs] SyliusOrderBundle | |
[docs] SyliusResourceBundle | |
SyliusPromotionsBundle | |
[docs] SyliusProductBundle |
This file contains hidden or 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
-w, --write-out <format> | |
Defines what to display on stdout after a completed and success- | |
ful operation. The format is a string that may contain plain | |
text mixed with any number of variables. The string can be spec- | |
ified as "string", to get read from a particular file you spec- | |
ify it "@filename" and to tell curl to read the format from | |
stdin you write "@-". | |
The variables present in the output format will be substituted | |
by the value or text that curl thinks fit, as described below. |
NewerOlder