devtips
@devtips1
Just a developer that's tweeting tips that i learn in the ordinary days.
Joined March 2020
#php #tips Changing value of item in array When you run a loop in a foreach, you can change the array value by adding "&" character. For sample: foreach($data as $key => &$value) { $value = 'new value'; } Ready, you gonna have a new value.
0
0
0
0
0
#js #tips Convert numbers to binary If you want to convert some number to binary in JavaScript, you can use the function toString() passing the number 2 as param*:* (10).toString(2) -- Result: 1010 Try yourself
0
0
0
0
0
United States Trends
- 1. #CARTMANCOIN 1,599 posts
- 2. Broncos 64.6K posts
- 3. Broncos 64.6K posts
- 4. yeonjun 193K posts
- 5. Bo Nix 17.8K posts
- 6. Geno 18.2K posts
- 7. $SMILEY N/A
- 8. Sean Payton 4,689 posts
- 9. Kenny Pickett 1,502 posts
- 10. daniela 38.9K posts
- 11. #criticalrolespoilers 4,764 posts
- 12. #TNFonPrime 3,979 posts
- 13. Chip Kelly 1,949 posts
- 14. Jalen Green 7,193 posts
- 15. Bradley Beal 3,397 posts
- 16. TALK TO YOU OUT NOW 25.4K posts
- 17. Pete Carroll 1,919 posts
- 18. Kehlani 8,990 posts
- 19. Jeanty 6,484 posts
- 20. byers 28.8K posts
Loading...
Something went wrong.
Something went wrong.