Remember
Register
Search With
Seek4Info.com
Programming & Software Q&A | CollectiveSolver
Questions
Tags
Users
Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.
Contact: aviboots(AT)netvision.net.il
Most popular tags
python
java
c
c#
cpp
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
ruby
dart
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
vbnet
winforms
kotlin-string
bash
c-string
swift-string
cpp-string
go-string
c#-string
php-string
java-string
vbnet-string
rust-string
python-string
cpp-vector
f#
opengl
scala-string
javascript-string
pascal-array
cobol
c-array
swift-array
typescript-string
php-array
javascript-array
rust-vector
typescript-array
python-list
reactjs
scala-array
c-windows
nodejs-string
go-array
kotlin-array
nodejs-array
sdl2
cpp-matrix
c-matrix
cpp-array
c#-list
vbnet-list
pascal-matrix
go-slice
c#-array
java-array
nodejs-express
character-code-ascii-unicode
swift-matrix
c#-matrix
sdl3
angularjs
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
math-functions-constants
dot-product-two-arrays
string-to-title-case
create-infinite-loop
rust-matrix
go-matrix
javascript-matrix
raylib
glfw
function-optional-parameter
decode-leet-speak
decimal-number-to-string-leading-zeros
Disclosure:
My content contains affiliate links.
Recent questions tagged php
40,937
questions
53,400
answers
573
users
Recent questions tagged php
1
answer
84
views
How to reverse a word in a string with PHP
asked
Sep 26, 2025
by
avibootz
php
php-string
php-reverse
1
answer
80
views
How to reverse each word in a string with PHP
asked
Sep 24, 2025
by
avibootz
php
php-string
php-reverse
1
answer
65
views
How to find the smallest letter in a sorted array that is larger than a given letter in PHP
asked
Sep 21, 2025
by
avibootz
php
php-array
1
answer
69
views
How to generate a random hexadecimal string in PHP
asked
Sep 18, 2025
by
avibootz
php
php-hexadecimal
1
answer
79
views
How to find the length of the longest consecutive zeroes in the binary representation of a number in PHP
asked
Sep 15, 2025
by
avibootz
php
php-binary
1
answer
82
views
How to find the two elements in an array whose sum is closest to zero in PHP
asked
Sep 13, 2025
by
avibootz
php
php-array
1
answer
73
views
How to check if two given words are present in a string in PHP
asked
Sep 12, 2025
by
avibootz
php
php-string
1
answer
50
views
How to convet decimal number base-12 number in PHP
asked
Sep 11, 2025
by
avibootz
php
php-base-12
1
answer
67
views
How to print the season name of the year based on the month number in PHP
asked
Sep 10, 2025
by
avibootz
php
php-season-month
1
answer
75
views
How to simplify path (remove ".." and "." and replace multiple “////” with one single “/”) in PHP
asked
Sep 8, 2025
by
avibootz
php
php-path
1
answer
48
views
How to find sum of the first N even numbers in PHP
asked
Sep 6, 2025
by
avibootz
php
php-sum
1
answer
59
views
How to find the position of the first set bit (1-bit) of a number in PHP
asked
Sep 4, 2025
by
avibootz
php
php-bits
1
answer
74
views
How to sort an array that consists of only 0s and 1s in PHP
asked
Sep 2, 2025
by
avibootz
php
php-array
php-sort
1
answer
103
views
How to sort an array of strings where each string represents a decimal number in PHP
asked
Sep 1, 2025
by
avibootz
php
php-array
php-sort
1
answer
46
views
How to find the number of squares in an N*N grid with PHP
asked
Aug 31, 2025
by
avibootz
php
php-grid-squares
1
answer
54
views
How to calculate compound interest in PHP
asked
Aug 30, 2025
by
avibootz
php
php-compound-interest
1
answer
58
views
How to calculate simple interest in PHP
asked
Aug 29, 2025
by
avibootz
php
php-interest
2
answers
81
views
How to get the last digit of a big int in PHP
asked
Aug 27, 2025
by
avibootz
php
php-biginteger
3
answers
120
views
How to combine 2 associative arrays into a third array in PHP
asked
Aug 25, 2025
by
avibootz
php
php-array
2
answers
88
views
How to create a queue, then enqueue and dequeue elements in PHP
asked
Aug 22, 2025
by
avibootz
php
php-queue
1
answer
52
views
How to assign a random number using a cryptographically secure random number generator in PHP
asked
Aug 20, 2025
by
avibootz
php
php-random
1
answer
91
views
How to find the length of the longest consecutive sequence of an unsorted array of integers in PHP
asked
Aug 18, 2025
by
avibootz
php
php-array
php-consecutive-sequence
php-sequence
1
answer
73
views
How to convert an integer to a string in base b with PHP
asked
Aug 17, 2025
by
avibootz
php
php-convert
1
answer
81
views
How to write "Ni Hao" ("Hello") in Chinese to standard output using UTF-8 in PHP
asked
Aug 16, 2025
by
avibootz
php
php-utf8
1
answer
87
views
How to implement a stack using an array in PHP
asked
Aug 14, 2025
by
avibootz
php
php-stack
1
answer
67
views
How to use a stack in PHP
asked
Aug 14, 2025
by
avibootz
php
php-stack
1
answer
78
views
How to sort the part of an array in PHP
asked
Aug 12, 2025
by
avibootz
php
php-sort
1
answer
80
views
How to split a string by a substring delimiter in PHP
asked
Aug 11, 2025
by
avibootz
php
php-split-string
1
answer
78
views
How to check if a string is a palindrome ignoring case and non-alphanumeric characters in PHP
asked
Aug 10, 2025
by
avibootz
php
php-palindrome
1
answer
90
views
How to filter a associative array in PHP
asked
Aug 7, 2025
by
avibootz
php
php-array
php-filter
1
answer
72
views
How to mimic the behavior of a set and insert an element in a set with PHP
asked
Aug 5, 2025
by
avibootz
php
php-set
1
answer
94
views
How to convert binary digits to a byte array in PHP
asked
Aug 4, 2025
by
avibootz
php
php-byte-array
php-binary
1
answer
100
views
How to check if floating point is NaN in PHP
asked
Aug 3, 2025
by
avibootz
php
php-nan
php-floating-point
1
answer
90
views
How to calculate power for large numbers in PHP
asked
Aug 2, 2025
by
avibootz
php
php-power
1
answer
65
views
How to sum the digits of the number 2^N in PHP
asked
Aug 1, 2025
by
avibootz
php
php-power-digits-sum
1
answer
71
views
How to set specific bits in a char with PHP
asked
Jul 31, 2025
by
avibootz
php
php-bits
1
answer
81
views
How to extract a float from a string in PHP
asked
Jul 29, 2025
by
avibootz
php
php-string
php-extract
2
answers
93
views
How to find the sum of all the multiples of 3 or 5 below 1000 in PHP
asked
Jul 28, 2025
by
avibootz
php
php-multiples
1
answer
95
views
How to create a string with a repeated character N times in PHP
asked
Jul 28, 2025
by
avibootz
php
php-string
2
answers
83
views
How to check if an integer contains an even or odd number of bits set in PHP
asked
Jul 27, 2025
by
avibootz
php
php-bits
1
answer
81
views
How to find pythagorean triplet for which a + b + c = 1000 in PHP
asked
Jul 25, 2025
by
avibootz
php
php-pythagorean-triplet
1
answer
58
views
How to replace multiple consecutive question marks (?) with a single question mark in PHP
asked
Jul 23, 2025
by
avibootz
php
php-replace
1
answer
83
views
How to extract img src, title, and alt from HTML string in PHP
asked
Jul 23, 2025
by
avibootz
php
php-html
1
answer
74
views
How to extract img src from HTML string in PHP
asked
Jul 23, 2025
by
avibootz
php
php-html
2
answers
120
views
How to count the trailing zeros in a binary number using PHP
asked
Jul 23, 2025
by
avibootz
php
php-binary
1
answer
79
views
How to suppress any output from a function in PHP
asked
Jul 22, 2025
by
avibootz
php
php-function-suppress
1
answer
72
views
How to format time hours-minutes-seconds in PHP
asked
Jul 22, 2025
by
avibootz
php
php-time
1
answer
99
views
How to split a string with multiple separators in PHP
asked
Jul 21, 2025
by
avibootz
php
php-string
1
answer
89
views
How to replace the first occurrence of a substring in a string with PHP
asked
Jul 20, 2025
by
avibootz
php
php-substring
2
answers
81
views
How to count backwards (Print the numbers N, N - 1, ..., 0 (included)) in PHP
asked
Jul 20, 2025
by
avibootz
php
php-loop
Page:
« prev
1
2
3
4
5
6
7
8
9
...
69
next »
...