Some melody script to highligh a BC break
-
-
Save lyrixx/d9e7f17c86d1ed8ae3869f23bbb254c8 to your computer and use it in GitHub Desktop.
Symfony EL BC Break
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 | |
<<<CONFIG | |
packages: | |
- "symfony/expression-language: 2.7.*" | |
- "symfony/var-dumper: ~3.1" | |
CONFIG; | |
$el = new Symfony\Component\ExpressionLanguage\ExpressionLanguage(); | |
dump($el->parse('foobar.count()', ['foobar'])); |
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 | |
<<<CONFIG | |
packages: | |
- "symfony/expression-language: 2.8.*" | |
- "symfony/var-dumper: ~3.1" | |
CONFIG; | |
$el = new Symfony\Component\ExpressionLanguage\ExpressionLanguage(); | |
dump($el->parse('foobar.count()', ['foobar'])); |
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 | |
<<<CONFIG | |
packages: | |
- "symfony/expression-language: 3.0.*" | |
- "symfony/var-dumper: ~3.1" | |
CONFIG; | |
$el = new Symfony\Component\ExpressionLanguage\ExpressionLanguage(); | |
dump($el->parse('foobar.count()', ['foobar'])); |
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 | |
<<<CONFIG | |
packages: | |
- "symfony/expression-language: 3.1.*" | |
- "symfony/var-dumper: ~3.1" | |
CONFIG; | |
$el = new Symfony\Component\ExpressionLanguage\ExpressionLanguage(); | |
dump($el->parse('foobar.count()', ['foobar'])); |
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 | |
<<<CONFIG | |
packages: | |
- "symfony/expression-language: 3.2.*@dev" | |
- "symfony/var-dumper: ~3.1" | |
CONFIG; | |
$el = new Symfony\Component\ExpressionLanguage\ExpressionLanguage(); | |
dump($el->parse('foobar.count()', ['foobar'])); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment