We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@uldisn Why is var_export54 needed in the generator, is this some PHP 5.4 specific code?
var_export54
The text was updated successfully, but these errors were encountered:
var_export output array in old style: array('a'=>1,'b' =>2), but var_export54: ['a'=>1,'b' =>2].
I still using PHP 5.4
Sorry, something went wrong.
Hmm, I don't get it ... can't you just use the var_export function from your current PHP version?!
When you're on 5.4 and you export with the above, you get a result which is not usable on 5.4 - as far as I understand.
Ah, I just noticed that short array syntax was introduced in 5.4 - so it's usable.
But I don't think we need an extra function, just for some code-style candy.
Btw ... Yii2 has this :)
http://www.yiiframework.com/doc-2.0/yii-helpers-basevardumper.html#export()-detail
No branches or pull requests
@uldisn Why is
var_export54
needed in the generator, is this some PHP 5.4 specific code?The text was updated successfully, but these errors were encountered: