Skip to content
New issue

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

BUG: ArrayCastFromVariable #1923

Closed
chrysanthemum opened this issue Sep 23, 2019 · 1 comment
Closed

BUG: ArrayCastFromVariable #1923

chrysanthemum opened this issue Sep 23, 2019 · 1 comment
Labels

Comments

@chrysanthemum
Copy link
Contributor

test/cast.zep

function testArrayCastFromVariable()
{
var uids = 1;
let uids = (array) uids;
return uids;
}

t.php

<?php
print_r(testArrayCastFromVariable());

result empty:

Array
(
)
@Jurigag Jurigag added the bug label Sep 23, 2019
sergeyklay added a commit that referenced this issue Sep 25, 2019
Fix #1917 #1923 AssignSuperGlobals && ArrayCastFromVariable
@sergeyklay
Copy link
Contributor

Fixed in the development branch. Feel free to open a new issue if the problem appears again. Thank you for contributing.

dreamsxin pushed a commit to dreamsxin/zephir that referenced this issue Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants