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
c
java
cpp
c#
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
ruby
dart
vbnet
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
winforms
kotlin-string
bash
c-string
swift-string
cpp-string
go-string
php-string
cobol
c#-string
java-string
vbnet-string
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
sdl3
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
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
longest-substring-without-repeating-characters
calculate-volume-cube
divide-given-amount-into-bills-coins
convert-decimal-number-to-rational-number
count-non-overlapping-instances-substring-in-string
print-floyds-triangle
case-insensitively-check-character-exists-in-string
calculate-area-pentagon
measure-function-execution-time
Disclosure:
My content contains affiliate links.
Recent questions tagged PHP
42,844
questions
55,671
answers
573
users
Recent questions tagged PHP
1
answer
108
views
How to find the median among three given numbers in PHP
asked
Mar 26
by
avibootz
php
php-median-among-three-given-numbers
median-among-three-given-numbers
1
answer
97
views
How to find the smallest number greater than a given number, using the same digits in PHP
asked
Mar 25
by
avibootz
php
php-smallest-number-greater-given-number-same-digits
smallest-number-greater-given-number-same-digits
2
answers
108
views
How to produce a sequential count in octal, starting at zero in PHP
asked
Mar 24
by
avibootz
php
php-sequential-count-octal
sequential-count-octal
1
answer
84
views
How to calculate the Ethiopian multiplication in PHP
asked
Mar 17
by
avibootz
php
php-ethiopian-multiplication
ethiopian-multiplication
1
answer
110
views
How to calculate the percentage change between two values in PHP
asked
Mar 16
by
avibootz
php
php-percentage-change-between-two-values
percentage-change-between-two-values
1
answer
96
views
How to write the 7 Boom game. If a number is divided by 7 or includes the digit 7, the user writes Boom in PHP
asked
Mar 15
by
avibootz
php
php-7-boom-game
7-boom-game
1
answer
103
views
How to find the longest shared prefix among all words in a string with PHP
asked
Mar 14
by
avibootz
php
php-longest-shared-prefix-words-string
longest-shared-prefix-words-string
2
answers
128
views
How to group words in a string by the first N letters in PHP
asked
Mar 13
by
avibootz
php
php-group-words-string-first-n-letter
group-words-string-first-n-letter
1
answer
115
views
How to find the longest common prefix of all the words in a string with PHP
asked
Mar 11
by
avibootz
php
php-longest-common-prefix-all-words-string
longest-common-prefix-all-words-string
1
answer
87
views
How to get a list of functions that belong to the standard extension in PHP
asked
Mar 10
by
avibootz
php
php-functions-standard-extension
functions-standard-extension
1
answer
85
views
How to get the names of all functions that start with str in PHP
asked
Mar 10
by
avibootz
php
php-names-functions-start-with-str
names-functions-start-with-str
1
answer
90
views
How to split a string on multiple multi‑character delimiters (and keep them) in PHP
asked
Mar 10
by
avibootz
php
php-split-string-multiple-multi-character-delimiters
split-string-multiple-multi-character-delimiters
1
answer
84
views
How to split a string on multiple single‑character delimiters (and keep them) in PHP
asked
Mar 9
by
avibootz
php
php-split-string-multiple-single-character-delimiters
split-string-multiple-single-character-delimiters
1
answer
90
views
How to remove all adjacent duplicate characters from a string until no more can be removed in PHP
asked
Mar 7
by
avibootz
php
php-remove-adjacent-duplicate-characters-string
remove-adjacent-duplicate-characters-string
1
answer
80
views
How to reverse only the alphabetic characters in a string, keeping other characters in place with PHP
asked
Mar 6
by
avibootz
php
php-reverse-only-alphabetic-characters
reverse-only-alphabetic-characters
1
answer
99
views
How to find missing alphabet characters from a string in PHP
asked
Mar 5
by
avibootz
php
php-missing-alphabet-characters-string
missing-alphabet-characters-string
1
answer
71
views
How to use the count_chars function with mod 0 (count frequency of string character) with PHP
asked
Mar 5
by
avibootz
php
php-count-chars-function-mod-0-count-frequency-string
count-chars-function-mod-0-count-frequency-string
1
answer
101
views
How to find the longest word in a string with PHP
asked
Mar 3
by
avibootz
php
php-string
php-longest-word-in-string
longest-word-in-string
1
answer
91
views
How to check if a string contains only 0 and 1 and is divisible by 7 in PHP
asked
Mar 1
by
avibootz
php
php-string-contains-only-0-and-1-is-divisible-by-7
string-contains-only-0-and-1-is-divisible-by-7
1
answer
90
views
How to check if every digit in a number appears only once in PHP
asked
Feb 26
by
avibootz
php
php-check-digits-number-appears-once
check-digits-number-appears-once
1
answer
100
views
How to find all happy numbers in a specific range with PHP
asked
Feb 24
by
avibootz
php
php-find-happy-numbers-in-specific-range
find-happy-numbers-in-specific-range
2
answers
107
views
How to remove newlines from a string PHP
asked
Feb 22
by
avibootz
php
php-remove-newlines-from-string
remove-newlines-from-string
1
answer
100
views
How to convert a number to any base in PHP
asked
Feb 21
by
avibootz
php
php-convert-number-to-any-base
convert-number-to-any-base
1
answer
99
views
How to count uppercase, lowercase, special characters, and numeric values using RegEx in PHP
asked
Feb 20
by
avibootz
php
php-count-uppercase-lowercase-special-characters-numeric-regex
count-uppercase-lowercase-special-characters-numeric-regex
1
answer
96
views
How to simulate rolling two dice (game cubes) with values 1–6 in PHP
asked
Feb 18
by
avibootz
php
php-simulate-rolling-two-dice-values-1-6
simulate-rolling-two-dice-values-1-6
1
answer
95
views
How to remove the last n occurrences of a substring in a string in PHP
asked
Feb 16
by
avibootz
php
php-remove-last-n-occurrences-substring-string
remove-last-n-occurrences-substring-string
1
answer
102
views
How to replace a random word in a string with a random word from an array of words using PHP
asked
Feb 13
by
avibootz
php
php-replace-random-word-in-string-with-random-word-from-array
replace-random-word-in-string-with-random-word-from-array
1
answer
102
views
How to find the shortest identical consecutive subarray in an array with PHP
asked
Feb 9
by
avibootz
php
php-shortest-identical-consecutive-subarray
shortest-identical-consecutive-subarray
1
answer
99
views
How to move the n word to the end of a string in PHP
asked
Feb 6
by
avibootz
php
php-move-n-word-to-end-of-string
move-n-word-to-end-of-string
1
answer
93
views
How to move the first word to the end of a string in PHP
asked
Feb 5
by
avibootz
php
php-move-first-word-to-end-of-string
move-first-word-to-end-of-string
1
answer
88
views
How to move a word to the end of a string in PHP
asked
Feb 4
by
avibootz
php
php-move-word-to-end-of-string
move-word-to-end-of-string
1
answer
92
views
How to multiply every N consecutive items in an array with PHP
asked
Feb 1
by
avibootz
php
php-multiply-every-n-of-consecutive-items-in-array
multiply-every-n-of-consecutive-items-in-array
3
answers
129
views
How to sort a list of data classes by multiple columns in PHP
asked
Jan 29
by
avibootz
php
php-sort-list-of-data-classes-by-multiple-columns
sort-list-of-data-classes-by-multiple-columns
1
answer
109
views
How to generate non‑overlapping random ranges (start,end),(start,end) in PHP
asked
Jan 28
by
avibootz
php
php-generate-non-overlapping-random-ranges
generate-non-overlapping-random-ranges
1
answer
92
views
How to merge overlapping ranges (start,end),(start,end) in PHP
asked
Jan 26
by
avibootz
php
php-merge-overlapping-ranges
merge-overlapping-ranges
1
answer
113
views
How to merge two strings based on shared suffix and prefix in PHP
asked
Jan 24
by
avibootz
php
php-merge-two-strings
merge-two-strings-based-on-shared-suffix-and-prefix
1
answer
108
views
How to sort by strings a mixed pair of string and number elements in an array with PHP
asked
Jan 23
by
avibootz
php
php-sort-array
sort-by-strings-mixed-pair-of-string-number-elements-in-array
1
answer
96
views
How to sort by numbers a mixed pair of string and number elements in an array with PHP
asked
Jan 23
by
avibootz
php
php-sort-array
sort-by-numbers-mixed-pair-of-string-number-elements-in-array
1
answer
91
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
101
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
89
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
93
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
96
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
80
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
86
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
106
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
106
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
85
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
82
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
86
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
Page:
« prev
1
2
3
4
5
6
7
8
9
...
72
next »
...