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
3
views
How to hash a string with SHA-256 in PHP
asked
9 hours
ago
by
avibootz
php
php-hash-string-sha-256
hash-string-sha-256
1
answer
10
views
How to use math functions and constants in PHP
asked
1 day
ago
by
avibootz
php
php-math-functions-constants
math-functions-constants
3
answers
17
views
How to create a function with an optional parameter in PHP
asked
2 days
ago
by
avibootz
php
php-function-optional-parameter
function-optional-parameter
2
answers
27
views
How to decode Leet Speak (where numbers resemble letters (7->T, 1->I, 5->S, 3 -> E)) in PHP
asked
4 days
ago
by
avibootz
php
php-decode-leet-speak
decode-leet-speak
1
answer
21
views
How to express a decimal number as a fixed-length string with leading zeros in PHP
asked
5 days
ago
by
avibootz
php
php-decimal-number-to-string-leading-zeros
decimal-number-to-string-leading-zeros
1
answer
22
views
How to reconstruct a full sparse matrix from a compact (triplet) matrix in PHP
asked
5 days
ago
by
avibootz
php
php-reconstruct-sparse-matrix-from-compact-triplet-matrix
reconstruct-sparse-matrix-from-compact-triplet-matrix
1
answer
16
views
How to create an enumeration of constants with and without explicit values in PHP
asked
6 days
ago
by
avibootz
php
php-create-enumeration-with-without-values
create-enumeration-with-without-values
1
answer
25
views
How to compact a sparse matrix in PHP
asked
Apr 24
by
avibootz
php
php-compact-sparse-matrix
compact-sparse-matrix
1
answer
26
views
How to check if a given matrix is a sparse matrix (contains a large number of zeros) in PHP
asked
Apr 23
by
avibootz
php
php-check-sparse-matrix
check-sparse-matrix
1
answer
22
views
How to search for a word in a grid of characters with PHP
asked
Apr 23
by
avibootz
php
php-search
php-grid
php-search-word-grid-characters
search-word-grid-characters
3
answers
24
views
How to create a generic‑like method in PHP
asked
Apr 22
by
avibootz
php
php-create-generic-like-method
create-generic-like-method
2
answers
36
views
How to localize date format in PHP
asked
Apr 19
by
avibootz
php
php-localize-date-format
localize-date-format
2
answers
35
views
How to create a tag cloud by wrapping array values in h1 through h6 tags in PHP
asked
Apr 18
by
avibootz
php
php-create-tag-cloud
create-tag-cloud
1
answer
35
views
How to get the number of days needed to wait after a day (a[i]) gets warmer given an array of temperatures in PHP
asked
Apr 18
by
avibootz
php
php-daily-temperatures-days-wait-gets-warmer
daily-temperatures-days-wait-gets-warmer
1
answer
39
views
How to rehash a password in PHP
asked
Apr 18
by
avibootz
php
php-rehash-password
rehash-password
1
answer
37
views
How to verify a hashed password in PHP
asked
Apr 18
by
avibootz
php
php-verify-hashed-password
verify-hashed-password
1
answer
35
views
How to hash a password in PHP
asked
Apr 18
by
avibootz
php
php-hash-password
hash-password
1
answer
31
views
How to check if a string is title case in PHP
asked
Apr 17
by
avibootz
php
php-check-string-title-case
check-string-title-case
5
answers
40
views
How to copy a string using multibyte-safe fin PHP
asked
Apr 16
by
avibootz
php
php-copy-string-multibyte-safe
copy-string-multibyte-safe
7
answers
38
views
How to copy a string in PHP
asked
Apr 16
by
avibootz
php
php-copy-string
copy-string
1
answer
27
views
How to represent the Boolean "true" and "false" in PHP
asked
Apr 14
by
avibootz
php
php-represent-boolean-true-false
represent-boolean-true-false
1
answer
26
views
How to calculate relative past time from a given date & time (e.g., 3 hours ago, 5 days ago, a month ago) in PHP
asked
Apr 13
by
avibootz
php
php-calculate-relative-past-time-date-time
calculate-relative-past-time-date-time
4
answers
46
views
How to create an infinite loop in PHP
asked
Apr 11
by
avibootz
php
php-create-infinite-loop
create-infinite-loop
1
answer
31
views
How to add a new interval into a sorted array of non‑overlapping intervals in PHP
asked
Apr 9
by
avibootz
php
php-add-interval-into-sorted-array-non-overlapping-intervals
add-interval-into-sorted-array-non-overlapping-intervals
1
answer
23
views
How to print text diagonally from left to right recursively in PHP
asked
Apr 8
by
avibootz
php
php-print-text-diagonally-from-left-to-right-recursively
print-text-diagonally-from-left-to-right-recursively
1
answer
30
views
How to detect whether any intervals overlap in a list of start and end times with PHP
asked
Apr 8
by
avibootz
php
php-detect-intervals-overlap-list-start-end-times
detect-intervals-overlap-list-start-end-times
1
answer
31
views
How to find the k biggest values from an array in PHP
asked
Apr 6
by
avibootz
php
php-k-biggest-values-array
k-biggest-values-array
1
answer
31
views
How to find the maximum value we can achieve by picking k elements from an array in PHP
asked
Apr 6
by
avibootz
php
php-maximum-value-k-elements-array
maximum-value-k-elements-array
1
answer
35
views
How to check whether only 2 bits in a number at a specific position are on (edge‑case‑safe) with PHP
asked
Apr 3
by
avibootz
php
php-check-2-number-bits-specific-position-on-edge-case-safe
check-2-number-bits-specific-position-on-edge-case-safe
1
answer
34
views
How to write 4 different functions that check if a number is a power of 2 in PHP
asked
Apr 2
by
avibootz
php
php-different-functions-check-number-power-of-2
different-functions-check-number-power-of-2
1
answer
34
views
How to write 6 different functions that accept 5 or 7 and return the other number, without using if,switch in PHP
asked
Mar 31
by
avibootz
php
php-different-functions-accept-5-7-return-other-number
different-functions-accept-5-7-return-other-number
1
answer
32
views
How to copy bits from M into N (numbers) between bit positions i and j (edge‑case‑safe) in PHP
asked
Mar 30
by
avibootz
php
php-bits
php-copy-bits-m-into-n-between-positions-edge-case-safe
copy-bits-m-into-n-between-positions-edge-case-safe
1
answer
36
views
How to get the word before the last word from a string (edge‑case‑safe) in PHP
asked
Mar 28
by
avibootz
php
php-string
php-get-word-before-last-string-edge-case-safe
get-word-before-last-string-edge-case-safe
1
answer
34
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
44
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
48
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
34
views
How to calculate the Ethiopian multiplication in PHP
asked
Mar 17
by
avibootz
php
php-ethiopian-multiplication
ethiopian-multiplication
1
answer
41
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
35
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
43
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
62
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
55
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
37
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
31
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
35
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
36
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
34
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
39
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
47
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
30
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
Page:
1
2
3
4
5
6
...
69
next »
...