create loop in php for 1 to 10000 or any number in javascript

index.tsx
// Loop from 1 to 10000 in JavaScript
for (let i = 1; i <= 10000; i++) {
    // Your code here
}
97 chars
5 lines
main.php
// Loop from 1 to 10000 in PHP
for ($i = 1; $i <= 10000; $i++) {
    // Your code here
}
89 chars
5 lines

related categories

gistlibby LogSnag