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
dart
ruby
r
css
bootstrap
groovy
win32
sql
mysql
winapi
jquery
lua
winforms
pascal-string
bash
kotlin-string
swift-string
c-string
cpp-string
go-string
cpp-vector
f#
opengl
java-string
php-string
c#-string
vbnet-string
pascal-array
swift-array
rust-string
python-string
scala-string
c-array
javascript-string
php-array
javascript-array
typescript-string
cobol
rust-vector
typescript-array
python-list
reactjs
scala-array
c-windows
go-array
nodejs-string
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
swift-matrix
c#-matrix
sdl3
angularjs
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
rust-matrix
go-matrix
javascript-matrix
raylib
glfw
extract-words-with-first-letter-lowercase-from-string
convert-specific-column-decimal-matrix-to-string
convert-specific-row-decimal-matrix-to-string
number-made-prime-deleting-single-digit
convert-days-human-readable-weeks-days
square-root-rounded-down-to-nearest-integer
remove-middle-word-string
area-triangle-herons-formula
inverse-matrix
Disclosure:
My content contains affiliate links.
Recent questions tagged php
39,726
questions
51,615
answers
573
users
Recent questions tagged php
1
answer
10
views
How to merge overlapping ranges (start,end),(start,end) in PHP
asked
1 day
ago
by
avibootz
php
php-merge-overlapping-ranges
merge-overlapping-ranges
1
answer
9
views
How to merge two strings based on shared suffix and prefix in PHP
asked
3 days
ago
by
avibootz
php
php-merge-two-strings
merge-two-strings-based-on-shared-suffix-and-prefix
1
answer
15
views
How to sort by strings a mixed pair of string and number elements in an array with PHP
asked
4 days
ago
by
avibootz
php
php-sort-array
sort-by-strings-mixed-pair-of-string-number-elements-in-array
1
answer
14
views
How to sort by numbers a mixed pair of string and number elements in an array with PHP
asked
4 days
ago
by
avibootz
php
php-sort-array
sort-by-numbers-mixed-pair-of-string-number-elements-in-array
1
answer
14
views
How to check if a string is IPv4 or IPv6 or invalid in PHP
asked
Jan 19
by
avibootz
php
php-check-if-string-is-ipv4-or-ipv6-or-invalid
check-if-string-is-ipv4-or-ipv6-or-invalid
1
answer
19
views
How to print a calendar for a specific month and year in PHP
asked
Jan 18
by
avibootz
php
php-print-calendar-for-specific-month-and-year
print-calendar-for-specific-month-and-year
1
answer
23
views
How to print the calendar for a specific year in PHP
asked
Jan 17
by
avibootz
php
php-print-calendar-for-specific-year
print-calendar-for-specific-year
1
answer
18
views
How to group words by first letter in PHP
asked
Jan 17
by
avibootz
php
php-group-words-by-first-letter
group-words-by-first-letter
1
answer
20
views
How to find the volume of a capsule in PHP
asked
Jan 12
by
avibootz
php
php-find-volume-of-capsule
find-volume-of-capsule
1
answer
24
views
How to implement ternary search to find a value in a sorted list with PHP
asked
Jan 12
by
avibootz
php
php-implement-ternary-search-to-find-value-in-sorted-array
implement-ternary-search-to-find-value-in-sorted-array
1
answer
24
views
How to convert a character (flatten) matrix to a single string in PHP
asked
Jan 10
by
avibootz
php
php-convert-character-matrix-to-single-string
convert-character-matrix-to-single-string
flatten_char_matrix
1
answer
26
views
How to hash a set of GUIDs in PHP
asked
Jan 7
by
avibootz
php
php-hash-set-of-guids
hash-set-of-guids
1
answer
24
views
How to check if each letter in a string maps to the first letter of a word in another string with PHP
asked
Jan 6
by
avibootz
php
php-each-letter-string-maps-first-letter-word-another-string
each-letter-string-maps-first-letter-word-another-string
1
answer
26
views
How to check if a string can be constructed by using the letters of another string in PHP
asked
Jan 5
by
avibootz
php
php-string-constructed-letters-another-string
string-constructed-letters-another-string
1
answer
22
views
How to product of array except self (arr[i] is equal to the product of all the elements except arr[i]) in PHP
asked
Jan 3
by
avibootz
php
php-product-array-except-self-arr_i
product-array-except-self-arr_i
1
answer
27
views
How to clear bits in the given range in PHP
asked
Dec 30, 2025
by
avibootz
php
php-clear-bits-given-range
clear-bits-given-range
1
answer
30
views
How to get the 4 least significant bits in a byte with PHP
asked
Dec 28, 2025
by
avibootz
php
php-get-4-least-significant-bits-byte
get-4-least-significant-bits-byte
2
answers
33
views
How to check whether a user string contains any forbidden words from a list in PHP
asked
Dec 26, 2025
by
avibootz
php
php-check-user-string-contains-forbidden-words
check-user-string-contains-forbidden-words
2
answers
46
views
How to check if the sum of two halves of a number is equal in PHP
asked
Dec 23, 2025
by
avibootz
php
php-sum-two-halves-number-equal
sum-two-halves-number-equal
1
answer
24
views
How to check if two halves of a number are equal in PHP
asked
Dec 21, 2025
by
avibootz
php
php-two-halves-number-equal
two-halves-number-equal
2
answers
50
views
How to check if two strings are isomorphic in PHP
asked
Dec 19, 2025
by
avibootz
php
php-check-two-strings-isomorphic
check-two-strings-isomorphic
1
answer
48
views
How to calculate the area of a triangle using Heron’s formula in PHP
asked
Dec 14, 2025
by
avibootz
php
php-area-triangle-herons-formula
area-triangle-herons-formula
1
answer
39
views
How to get the number of the day from the beginning of the year to a given date in PHP
asked
Dec 13, 2025
by
avibootz
php
php-number-day-beginning-year
number-day-beginning-year
1
answer
37
views
How to find the missing number in an array containing numbers from 1 to n in O(1) time complexity with PHP
asked
Dec 10, 2025
by
avibootz
php
php-missing-number-array-o1-time-complexity
missing-number-array-o1-time-complexity
1
answer
36
views
How to convert Base64 to a JSON string in PHP
asked
Dec 7, 2025
by
avibootz
php
php-base64-to-json-string
base64-to-json-string
1
answer
35
views
How to calculate time if we have the distance and speed (kilometers per hour) in PHP
asked
Dec 6, 2025
by
avibootz
php
php-calculate-time-distance-speed
calculate-time-distance-speed
1
answer
42
views
How to convert a Roman number to an integer in PHP
asked
Dec 3, 2025
by
avibootz
php
php-roman-integer
roman-integer
1
answer
37
views
How to format an array of strings in lines with maxWidth without breaking the words in PHP
asked
Dec 2, 2025
by
avibootz
php
php-format-array-strings-lines-maxwidth
format-array-strings-lines-maxwidth
1
answer
36
views
How to convert an integer to Roman numerals in PHP
asked
Dec 1, 2025
by
avibootz
php
php-integer-roman-numerals
integer-roman-numerals
1
answer
42
views
How to check if the last index of an array is reachable by jumping based on element values from index 0 in PHP
asked
Dec 1, 2025
by
avibootz
php
php-last-index-array-jumping-by-elements-value
last-index-array-jumping-by-elements-value
1
answer
34
views
How to merge two sorted arrays in PHP
asked
Nov 29, 2025
by
avibootz
php
php-merge-two-sorted-arrays
merge-two-sorted-arrays
1
answer
35
views
How to find two prime numbers that, when concatenated, form another prime number in PHP
asked
Nov 28, 2025
by
avibootz
php
php-prime-concatenate
prime-concatenate
1
answer
38
views
How to generate an N-digit integer random number in PHP
asked
Nov 27, 2025
by
avibootz
php
php-n-digit-integer-random
n-digit-integer-random
1
answer
34
views
How to select random two digits from anywhere in a number with PHP
asked
Nov 26, 2025
by
avibootz
php
php-random-two-anywhere-digits
random-two-anywhere-digits
1
answer
38
views
How to select random two consecutive digits from a number in PHP
asked
Nov 26, 2025
by
avibootz
php
php-random-two-consecutive-digits
random-two-consecutive-digits
1
answer
32
views
How to convert a degree to a compass direction in PHP
asked
Nov 24, 2025
by
avibootz
php
php-degree-compass-direction
degree-compass-direction
1
answer
34
views
How to calculate the sum of all Fibonacci numbers between two left and right indices in PHP
asked
Nov 23, 2025
by
avibootz
php
php-sum-fibonacci-numbers
sum-fibonacci-numbers
1
answer
43
views
How to initialize a matrix with random characters in PHP
asked
Nov 22, 2025
by
avibootz
php
php-matrix-random-characters
matrix-random-characters
2
answers
56
views
How to generate all possible permutations and combinations of an array of chars in PHP
asked
Nov 21, 2025
by
avibootz
php
php-array-all-permutations-combinations
all-permutations-combinations
1
answer
43
views
How to find the first 4-digit prime number where all digits are unique in PHP
asked
Nov 20, 2025
by
avibootz
php
php-4-digit-prime-unique
4-digit-prime-unique
1
answer
42
views
How to use explode with a list in PHP
asked
Nov 19, 2025
by
avibootz
php
php-explode-list
explode-list
1
answer
41
views
How to generate a random integer from a range [0, N] that is not in a unique integer list with PHP
asked
Nov 19, 2025
by
avibootz
php
php-random
php-random-excluding-list
random-excluding-list
1
answer
41
views
How to replace all occurrences of a specific digit in a floating-point number with PHP
asked
Nov 18, 2025
by
avibootz
php
php-replace-all-occurrences-digit-float
replace-all-occurrences-digit-float
1
answer
55
views
How to replace a digit in a floating-point number by index with PHP
asked
Nov 17, 2025
by
avibootz
php
php-replace-digit-float
replace-digit-float
1
answer
52
views
How to check whether each substring range (L to R) from an array of substring ranges is a palindrome in PHP
asked
Nov 16, 2025
by
avibootz
php
php-substring-range-palindrome
substring-range-palindrome
1
answer
40
views
How to use count_chars with mode 4 (string containing all unused characters is returned) in PHP
asked
Nov 16, 2025
by
avibootz
php
php-count-chars-mode-4
php-string-unused-characters
string-unused-characters
1
answer
42
views
How to use count_chars with mode 3 (a string containing all unique characters is returned) in PHP
asked
Nov 15, 2025
by
avibootz
php
php-count-chars-mode-3
php-string-unique-characters
string-unique-characters
1
answer
102
views
How to encode to uuencoded and decode back to original string in PHP
asked
Nov 15, 2025
by
avibootz
php
php-encode-uuencoded
php-decode-uuencoded
encode-uuencoded
decode-uuencoded
1
answer
36
views
How to convert an array of strings and group all the anagrams into subarrays in PHP
asked
Nov 15, 2025
by
avibootz
php
php-array-anagram
group-anagrams
1
answer
50
views
How to get all the substrings with exactly k distinct characters from a given string in PHP
asked
Nov 14, 2025
by
avibootz
php
php-substring
php-string
substrings-with-k-distinct-characters
Page:
1
2
3
4
5
6
...
68
next »
...