array(2) {
[0]=>
string(4) "rgba"
[1]=>
string(6) "0,0,0)"
}
#000000array(1) {
[0]=>
string(4) "boom"
}
Warning: Undefined array key 1 in /in/qRFZS on line 14
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /in/qRFZS on line 15
Fatal error: Uncaught TypeError: dechex(): Argument #1 ($num) must be of type int, string given in /in/qRFZS:18
Stack trace:
#0 /in/qRFZS(18): dechex('')
#1 /in/qRFZS(24): swift_rgb2hex(Array)
#2 {main}
thrown in /in/qRFZS on line 18
Process exited with code 255.
Output for 8.0.0 - 8.0.30
array(2) {
[0]=>
string(4) "rgba"
[1]=>
string(6) "0,0,0)"
}
#000000array(1) {
[0]=>
string(4) "boom"
}
Warning: Undefined array key 1 in /in/qRFZS on line 14
Fatal error: Uncaught TypeError: dechex(): Argument #1 ($num) must be of type int, string given in /in/qRFZS:18
Stack trace:
#0 /in/qRFZS(18): dechex('')
#1 /in/qRFZS(24): swift_rgb2hex(Array)
#2 {main}
thrown in /in/qRFZS on line 18
Process exited with code 255.
array(2) {
[0]=>
string(4) "rgba"
[1]=>
string(6) "0,0,0)"
}
#000000array(1) {
[0]=>
string(4) "boom"
}
Notice: Undefined offset: 1 in /in/qRFZS on line 14
Notice: Undefined offset: 1 in /in/qRFZS on line 19
Notice: Undefined offset: 2 in /in/qRFZS on line 20
#000000array(1) {
[0]=>
string(6) "FFFFFF"
}
Notice: Undefined offset: 1 in /in/qRFZS on line 14
Notice: Undefined offset: 1 in /in/qRFZS on line 19
Notice: Undefined offset: 2 in /in/qRFZS on line 20
#000000array(2) {
[0]=>
string(4) "rgba"
[1]=>
string(6) "0,0,0)"
}
#000000