Last active
July 6, 2017 17:23
-
-
Save catrope/8aa482d662b850f8f198b55f3c0a4653 to your computer and use it in GitHub Desktop.
What does this PHP snippet output?
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 | |
$tomorrowDate = ['20170706', '102026']; | |
var_dump( [ | |
`action=blah&pageid=1&date={{$tomorrowDate[0]}}&comment='example` | |
=> 'example-1', | |
`action=blah&pageid=1&date={{$tomorrowDate[0]}}` | |
=> 'example-2', | |
] ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the result see https://gist.github.com/catrope/b6f26a0093d1a0f941495aa5bb0c412a