@NikiC @bwoebi So after some more searching it seems that nearly all imperative programming languages with implicit binding of variables from outer scope do so by reference or variable.
Now, For the first time I want to cook :-) .. What food is your suggestion? My current foodstuffs: Chicken, Carrots, Water, Pepper, Bread, Macaroni, Mushroom !
@Shafizadeh First, chop the carrots, put them in a pan. They take the longest. Put the water and the Macaroni in, and bring it to the boil. Next fry up the chicken with the pepper and mushrooms, when it's done, put them on top of the bread (toasted if you wish). Poor the carrots and pasta on top. Place everything in a bowl. Give it to the dog. Go buy a takeaway pizza.
@tereško I will ..! what should I buy else when I'm shopping? I cannot go shopping all the time .. so please tell me some important thing that may I need them for cooking
@Shafizadeh a wooden or plastic spatula would be important. Also oil or butter. You can buy some cheese (if you are not making makaroni with soya, the alternative is adding butter and small pieces of cheese). Tomatoes.
If I'm reading it right it will just look at the first \d* and match against that, since an empty string would match against * but a space isn't included in \d.
@kelunik I think the spec should be a bit more precise on when future callbacks must be called once it's clear that the Awaitable is resolved (i.e. the first callback has been called)
I am just new to PHP. I have installed PHP plugin in netbeans and created a PHP project . there is index.php having <body> <?php echo "My first PHP" ?> </body>
the solution is to implement the loading dynamically in batches. You load X question in requests, and when you have 2 or 3 questions left in that batch, you make a request for the next batch.
@kelunik I can't really help you with how the API should look or how it shoudl relate to what packages, but that seems like useful functionality to have in some form or another. Probably just a lib built on top of amp/parallel tbh
@LakinMohapatra Another thing - load the first one with the actual page load data, then immediately make an AJAX request in the background for the next batch, then continue as teresko suggested