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
cpp
c#
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
ruby
dart
r
css
bootstrap
win32
groovy
winapi
sql
mysql
vbnet
jquery
pascal-string
lua
winforms
kotlin-string
bash
c-string
swift-string
cpp-string
go-string
c#-string
php-string
java-string
vbnet-string
cobol
rust-string
python-string
cpp-vector
f#
opengl
scala-string
javascript-string
pascal-array
swift-array
typescript-string
c-array
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
cpp-array
c#-list
vbnet-list
c-matrix
pascal-matrix
go-slice
c#-array
java-array
nodejs-express
character-code-ascii-unicode
swift-matrix
c#-matrix
sdl3
angularjs
transpose-matrix
binary-search-algorithm
dot-product-two-arrays
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
measure-function-execution-time
sort-words-string
exabyte-constant
petabyte-constant
terabyte-constant
math-functions-constants
string-to-title-case
create-infinite-loop
rust-matrix
Disclosure:
My content contains affiliate links.
Recent questions tagged PHP
41,452
questions
53,999
answers
573
users
Recent questions tagged PHP
1
answer
58
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
49
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
50
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
51
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
75
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
70
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
53
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
54
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
56
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
61
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
67
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
100
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
54
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
92
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
81
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
69
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
76
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
67
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
61
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
76
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
68
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
70
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
76
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
67
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
62
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
64
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
63
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
71
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
70
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
66
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
74
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
95
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
67
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
67
views
How to use explode with a list in PHP
asked
Nov 19, 2025
by
avibootz
php
php-explode-list
explode-list
1
answer
89
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
72
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
107
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
83
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
83
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
75
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
269
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
63
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
91
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
1
answer
67
views
How to compare arrays in PHP
asked
Nov 13, 2025
by
avibootz
php
php-compare-arrays
compare-arrays
1
answer
78
views
How to find the Kth smallest number in an unsorted array with PHP
asked
Nov 11, 2025
by
avibootz
php
php-find-array
1
answer
86
views
How to find a list of numbers up to a limit that is a palindrome in base 10 and base 2 in PHP
asked
Nov 11, 2025
by
avibootz
php
php-bouble-base-palindrome
1
answer
65
views
How to find all the numbers that are equal to the sum of the factorials of their digits in PHP
asked
Nov 9, 2025
by
avibootz
php
php-numbers
php-factorials
1
answer
68
views
How to find the numbers that are the sum of fifth powers of their digits in PHP
asked
Nov 9, 2025
by
avibootz
php
php-numbers
php-fifth-power
1
answer
87
views
How to find the floor and ceiling of the value N in an unsorted array with PHP
asked
Nov 8, 2025
by
avibootz
php
php-floor
php-ceil
php-array
1
answer
90
views
How to write a recursive function to generate all permutations of a string in PHP
asked
Nov 5, 2025
by
avibootz
php
php-recursion
Page:
« prev
1
2
3
4
5
6
7
8
...
70
next »
...