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
ruby
html
vbnet
dart
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
winforms
kotlin-string
cpp-string
c-string
swift-string
go-string
php-string
bash
java-string
c#-string
vbnet-string
python-string
cobol
rust-string
scala-string
javascript-string
cpp-vector
typescript-string
pascal-array
f#
opengl
c-array
swift-array
php-array
javascript-array
rust-vector
typescript-array
python-list
scala-array
reactjs
c-windows
nodejs-string
go-array
nodejs-array
kotlin-array
sdl2
cpp-matrix
cpp-array
c-matrix
sdl3
c#-list
vbnet-list
java-array
pascal-matrix
c#-array
swift-matrix
c#-matrix
go-slice
nodejs-express
character-code-ascii-unicode
kotlin-matrix
typescript-matrix
vbnet-array
angularjs
split-string-into-array-by-delimiter
transpose-matrix
binary-search-algorithm
dot-product-two-arrays
generate-random-floating-point-numbers
all-permutations-combinations
rust-matrix
go-matrix
kotlin-list
rot13
reverse-string-without-pecial-characters
all-dates-between-2-dates
first-repeated-character-string
difference-two-dates-seconds
get-n-digit-after-decimal-point-float
Disclosure:
My content contains affiliate links.
Recent questions tagged PHP
43,835
questions
57,202
answers
573
users
Recent questions tagged PHP
1
answer
6
views
How to find the two largest elements in an array with PHP
asked
14 hours
ago
by
avibootz
php
php-two-largest-elements-array
two-largest-elements-array
1
answer
7
views
How to find the smallest and largest digits in a number in PHP
asked
1 day
ago
by
avibootz
php
php-smallest-largest-digits-number
smallest-largest-digits-number
1
answer
19
views
How to reverse an array of characters without affecting the special characters in PHP
asked
2 days
ago
by
avibootz
php
php-reverse-array-characters-without-special-characters
reverse-array-characters-without-special-characters
1
answer
18
views
How to implement the ROT13 algorithm (replace a letter with the 13th letter after it) in PHP
asked
3 days
ago
by
avibootz
php
php-implement-rot13-algorithm
implement-rot13-algorithm
rot13
1
answer
23
views
How to get all dates between 2 dates in PHP
asked
4 days
ago
by
avibootz
php
php-all-dates-between-2-dates
all-dates-between-2-dates
1
answer
38
views
How to access static properties in an object in PHP
asked
Oct 30
by
avibootz
php
php-access-static-properties-in-object
access-static-properties-in-object
1
answer
40
views
How to find three consecutive numbers with the largest sum in an array of integers in PHP
asked
Oct 30
by
avibootz
php
php-three-consecutive-numbers-largest-sum-array
three-consecutive-numbers-largest-sum-array
1
answer
57
views
How to generate 7 random numbers out of 33 (1-33) in PHP
asked
Oct 28
by
avibootz
php
php-generate-7-random-numbers-1-33
generate-7-random-numbers-1-33
1
answer
53
views
How to check if PHP is running in 64-bit mode in PHP
asked
Oct 26
by
avibootz
php
php-check-running-64-bit-mode
check-running-64-bit-mode
1
answer
50
views
How to calculate the largest positive integer in a 64-bit system in PHP
asked
Oct 26
by
avibootz
php
php-largest-positive-integer-64-bit
largest-positive-integer-64-bit
1
answer
47
views
How to sort an associative array first by value, then by key in PHP
asked
Oct 23
by
avibootz
php
php-sort-associative-array-value-key
sort-associative-array-value-key
1
answer
49
views
How to find the maximum distance between two numbers in an array with PHP
asked
Oct 22
by
avibootz
php
php-maximum-distance-two-numbers-array
maximum-distance-two-numbers-array
1
answer
62
views
How to compute the total number of combinations when choosing 7 numbers out of 33 in PHP
asked
Oct 20
by
avibootz
php
php-total-combinations-choosing-7-out-of-33
total-combinations-choosing-7-out-of-33
4
answers
138
views
How to format a string using fixed-width fields in PHP
asked
Oct 18
by
avibootz
php
php-string
php-format-string-fixed-width-fields
format-string-fixed-width-fields
1
answer
76
views
How to get the Nth digit after the decimal point of a floating-point number in PHP
asked
Oct 15
by
avibootz
php
php-get-n-digit-after-decimal-point-float
get-n-digit-after-decimal-point-float
2
answers
111
views
How to get the Nth digit of a number from the right in PHP
asked
Oct 13
by
avibootz
php
php-get-n-digit-of-number-from-right
get-n-digit-of-number-from-right
1
answer
109
views
How to removes all extensions from a filename in PHP
asked
Oct 11
by
avibootz
php
php-removes-all-extensions-filename
removes-all-extensions-filename
2
answers
114
views
How to compare floating-point values safely in PHP
asked
Oct 8
by
avibootz
php
php-floating-point
php-compare-floating-point-safely
compare-floating-point-safely
1
answer
91
views
How to generate a range of floating-point numbers in PHP
asked
Oct 7
by
avibootz
php
php-floating-point
php-generate-range-floating-point-numbers
generate-range-floating-point-numbers
2
answers
133
views
How to remove characters present in first string from the second string in PHP
asked
Oct 3
by
avibootz
php
php-remove-characters-first-string-from-second-string
remove-characters-first-string-from-second-string
1
answer
81
views
How do you find the position of the most significant bit (MSB) of an unsigned integer in PHP
asked
Sep 30
by
avibootz
php
php-position-msb-integer
position-msb-integer
1
answer
73
views
How to use XOR to swap two characters in a string in PHP
asked
Sep 30
by
avibootz
php
php-xor-swap-two-characters-string
xor-swap-two-characters-string
1
answer
104
views
How to find the intersection of two arrays (values that exist in both arrays) in PHP
asked
Sep 28
by
avibootz
php
php-intersection-two-arrays
intersection-two-arrays
1
answer
108
views
How to check whether the letters of a word exist in a string (order doesn't matter) in PHP
asked
Sep 26
by
avibootz
php
php-letters-of-word-exist-in-string-order-doesnt-matter
letters-of-word-exist-in-string-order-doesnt-matter
1
answer
102
views
How to find the element with minimum occurrences in an array with PHP
asked
Sep 25
by
avibootz
php
element-minimum-occurrences-array
1
answer
102
views
How to convert multiple date formats to YYYY-MM-DD in PHP
asked
Sep 24
by
avibootz
php
php-convert-date-formats-to-yyyy-mm-dd
convert-date-formats-to-yyyy-mm-dd
1
answer
75
views
How to sort a list of string-based dates in PHP
asked
Sep 23
by
avibootz
php
php-sort-list-string-based-dates
sort-list-string-based-dates
1
answer
76
views
How to print a number with a thousand separator as spaces in PHP
asked
Sep 22
by
avibootz
php
php-number-thousand-separator-spaces
number-thousand-separator-spaces
1
answer
109
views
How to get the country name from the 2-letter country code (alpha-2) in PHP
asked
Sep 19
by
avibootz
php
php-country-name-from-country-code
country-name-from-country-code
1
answer
90
views
How to extract the last N digits from a number in PHP
asked
Sep 18
by
avibootz
php
php-extract-last-n-digits-number
extract-last-n-digits-number
1
answer
88
views
How to extract all floating-point numbers from a string of words in PHP
asked
Sep 17
by
avibootz
php
php-extract-all-floating-point-numbers-string
extract-all-floating-point-numbers-string
1
answer
112
views
How to compute the factorial of a number greater than 20 in PHP
asked
Sep 14
by
avibootz
php
php-compute-factorial-of-number-greater-20
compute-factorial-of-number-greater-20
1
answer
101
views
How to select N unique random values that appear exactly once in an existing array with PHP
asked
Sep 13
by
avibootz
php
php-n-unique-random-values-appear-once-in-array
n-unique-random-values-appear-once-in-array
1
answer
95
views
How to select N unique random indices from an existing array in PHP
asked
Sep 12
by
avibootz
php
php-select-n-unique-random-indices-array
select-n-unique-random-indices-array
1
answer
105
views
How to compare two float arrays for exact equality in PHP
asked
Sep 11
by
avibootz
php
php-compare-two-float-arrays-exact-equality
compare-two-float-arrays-exact-equality
1
answer
99
views
How to generate all trigrams (3-character sequences) from a given word in PHP
asked
Sep 9
by
avibootz
php
php-generate-all-trigrams-given-word
generate-all-trigrams-given-word
1
answer
115
views
How to compare two float arrays using a tolerance in PHP
asked
Sep 8
by
avibootz
php
php-compare-two-float-arrays-tolerance
compare-two-float-arrays-tolerance
1
answer
110
views
How to split text without spaces into a list of words using dictionary-based segmentation in PHP
asked
Sep 7
by
avibootz
php
php-split-text-without-spaces-into-words-dictionary
split-text-without-spaces-into-words-dictionary
1
answer
112
views
How to convert numbers from 0 to 999,999,999,999,999 (up to 999 trillion) into English words in PHP
asked
Sep 5
by
avibootz
php
php-convert-numbers-0-999999999999999-english-words
convert-numbers-0-999999999999999-english-words
1
answer
124
views
How to parse a table into a binary tree in PHP
asked
Sep 4
by
avibootz
php
php-parse-table-into-binary-tree
parse-table-into-binary-tree
1
answer
114
views
How to declare, initialize, and print a medium complexity, varied, feature‑rich data structure in PHP
asked
Sep 3
by
avibootz
php
php-declare-initialize-print-medium-complexity-data-structure
declare-initialize-print-medium-complexity-data-structure
1
answer
110
views
How to sort an array of classes that contain nested classes using custom comparison logic in PHP
asked
Sep 1
by
avibootz
php
php-sort-array-of-classes-contain-nested-classes
sort-array-of-classes-contain-nested-classes
1
answer
109
views
How to find the N most frequent non‑stopwords in a text in PHP
asked
Aug 30
by
avibootz
php
php-n-most-frequent-non-stopwords-text
n-most-frequent-non-stopwords-text
1
answer
104
views
How to find the starting index of all occurrences of a word in a string in PHP
asked
Aug 30
by
avibootz
php
php-find-starting-index-all-occurrences-word-string
find-starting-index-all-occurrences-word-string
2
answers
139
views
How to split a string into words in PHP
asked
Aug 29
by
avibootz
php
php-split-string
php-split-string-into-words
split-string-into-words
1
answer
121
views
How to convert any digital storage unit into all others (B, KB, MB, GB, TB, PB, EB, ZB, YB) in PHP
asked
Aug 28
by
avibootz
php
php-convert-any-digital-storage-unit-into-all-others
convert-any-digital-storage-unit-into-all-others
1
answer
109
views
How to write the Tic-Tac-Toe game in PHP
asked
Aug 27
by
avibootz
php
php-tic-tac-toe-game
tic-tac-toe-game
1
answer
117
views
How to generate a random RGBA color and opacity in PHP
asked
Aug 25
by
avibootz
php
php-generate-random-rgba-color-opacity
generate-random-rgba-color-opacity
2
answers
152
views
How to generate a series of unique HEX colors in PHP
asked
Aug 24
by
avibootz
php
php-generate-series-unique-hex-colors
generate-series-unique-hex-colors
2
answers
142
views
How to print the numbers 0 to 31 by changing 1 bit each time in PHP
asked
Aug 21
by
avibootz
php
php-print-0-31-changing-1-bit-each-time
print-0-31-changing-1-bit-each-time
Page:
1
2
3
4
5
6
...
73
next »
...