Skip to content

How to iterate over an array? #3373

Closed Answered by jordalgo
yahaa asked this question in Q&A
Aug 3, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Edited: Something like this works but it seems that strcontains is broken. Will file a bug and look into it:

$i = 0;
$last = "";
while ($i<10) {
     $last = str(*(args.envp + $i));
     $i++;
 }
print(($last));

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jordalgo
Comment options

@yahaa
Comment options

Answer selected by yahaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants