<?php
$pcMeta = json_decode('{"layout":"lay1x1","hash":"jGFjJH5Bg","color":{"text":"#ffffff","border":"#e1e1e1","elements":"#30b0fe","background":"#ffffff","borderModule":"#e1e1e1","elementsBorder":"#50d0ff","elementsDarker":"#1090de","display":"black","backgroundImg":null},"font":{"header":"","rest":""},"title":{"url":"","color":"#000000","title":"","fontSize":""},"title2":{"color":"#000000","title":"","url":""},"title3":{"color":"#000000","title":"","url":""},"logo":{"img":"/_thumbor/vNQzriGL8RfJV3uE8Me9lxjGv9A=/0x67/embed/j/G/jGFjJH5Bg/assets/pcmorale_46ab.png","url":"","position":"left"},"logo2":{"img":"/_thumbor/vNQzriGL8RfJV3uE8Me9lxjGv9A=/0x67/embed/j/G/jGFjJH5Bg/assets/pcmorale_46ab.png","url":"","position":"left"},"finePrint":{"name":"","text":""},"settings":{"text":"#ffffff","background":"#30b0fe","backgroundDarker":"#1090de"},"customCss":{"style":"","styleVal":""},"modules":[{"name":"hotspot","params":{"img":"/_thumbor/5CG1FlmHZFFNAIAjRO83E1gdCww=/28x0:281x253/302x302/embed/j/G/jGFjJH5Bg/assets/pcmorale_21bc.png","base":"//wpembed.powercontent.pl/_thumbor/Mvd40fz9vinCKB_TuZNy0lA4baM=/embed/j/G/jGFjJH5Bg/assets/pcmorale_21bc.png","crop":{"top":0,"left":28,"right":281,"bottom":253},"size":{"h":302,"w":302},"type":"icon-circle-question","class":"module-square","title":"hghju","elements":[{"x":"177","y":"57.600006103515625","id":"jGFjJH5Bg_493669_66471","top":19.072849703151,"left":58.609271523179,"text":"hgf"}],"fontSize":"","moduleId":"jGFjJH5Bg_493669","original":"/embed/j/G/jGFjJH5Bg/assets/pcmorale_21bc.png"}}]}');
$pcImport = json_decode('{"url":"[\'//wpembed.powercontent.pl/componentsIndex.html\', \'//wpembed.powercontent.pl/componentsIndex.js\' ]"}');
print_r($pcMeta);
echo "=================================================================================";
print_r($pcImport);
echo "=================================================================================";
$meta = array_merge($pcMeta, $pcImport);
print_r($meta);
- Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
- stdClass Object
(
[layout] => lay1x1
[hash] => jGFjJH5Bg
[color] => stdClass Object
(
[text] => #ffffff
[border] => #e1e1e1
[elements] => #30b0fe
[background] => #ffffff
[borderModule] => #e1e1e1
[elementsBorder] => #50d0ff
[elementsDarker] => #1090de
[display] => black
[backgroundImg] =>
)
[font] => stdClass Object
(
[header] =>
[rest] =>
)
[title] => stdClass Object
(
[url] =>
[color] => #000000
[title] =>
[fontSize] =>
)
[title2] => stdClass Object
(
[color] => #000000
[title] =>
[url] =>
)
[title3] => stdClass Object
(
[color] => #000000
[title] =>
[url] =>
)
[logo] => stdClass Object
(
[img] => /_thumbor/vNQzriGL8RfJV3uE8Me9lxjGv9A=/0x67/embed/j/G/jGFjJH5Bg/assets/pcmorale_46ab.png
[url] =>
[position] => left
)
[logo2] => stdClass Object
(
[img] => /_thumbor/vNQzriGL8RfJV3uE8Me9lxjGv9A=/0x67/embed/j/G/jGFjJH5Bg/assets/pcmorale_46ab.png
[url] =>
[position] => left
)
[finePrint] => stdClass Object
(
[name] =>
[text] =>
)
[settings] => stdClass Object
(
[text] => #ffffff
[background] => #30b0fe
[backgroundDarker] => #1090de
)
[customCss] => stdClass Object
(
[style] =>
[styleVal] =>
)
[modules] => Array
(
[0] => stdClass Object
(
[name] => hotspot
[params] => stdClass Object
(
[img] => /_thumbor/5CG1FlmHZFFNAIAjRO83E1gdCww=/28x0:281x253/302x302/embed/j/G/jGFjJH5Bg/assets/pcmorale_21bc.png
[base] => //wpembed.powercontent.pl/_thumbor/Mvd40fz9vinCKB_TuZNy0lA4baM=/embed/j/G/jGFjJH5Bg/assets/pcmorale_21bc.png
[crop] => stdClass Object
(
[top] => 0
[left] => 28
[right] => 281
[bottom] => 253
)
[size] => stdClass Object
(
[h] => 302
[w] => 302
)
[type] => icon-circle-question
[class] => module-square
[title] => hghju
[elements] => Array
(
[0] => stdClass Object
(
[x] => 177
[y] => 57.600006103515625
[id] => jGFjJH5Bg_493669_66471
[top] => 19.072849703151
[left] => 58.609271523179
[text] => hgf
)
)
[fontSize] =>
[moduleId] => jGFjJH5Bg_493669
[original] => /embed/j/G/jGFjJH5Bg/assets/pcmorale_21bc.png
)
)
)
)
=================================================================================stdClass Object
(
[url] => ['//wpembed.powercontent.pl/componentsIndex.html', '//wpembed.powercontent.pl/componentsIndex.js' ]
)
=================================================================================
Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, stdClass given in /in/SC71o:9
Stack trace:
#0 /in/SC71o(9): array_merge(Object(stdClass), Object(stdClass))
#1 {main}
thrown in /in/SC71o on line 9
Process exited with code 255. - Output for 8.3.5
- Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
stdClass Object
(
[layout] => lay1x1
[hash] => jGFjJH5Bg
[color] => stdClass Object
(
[text] => #ffffff
[border] => #e1e1e1
[elements] => #30b0fe
[background] => #ffffff
[borderModule] => #e1e1e1
[elementsBorder] => #50d0ff
[elementsDarker] => #1090de
[display] => black
[backgroundImg] =>
)
[font] => stdClass Object
(
[header] =>
[rest] =>
)
[title] => stdClass Object
(
[url] =>
[color] => #000000
[title] =>
[fontSize] =>
)
[title2] => stdClass Object
(
[color] => #000000
[title] =>
[url] =>
)
[title3] => stdClass Object
(
[color] => #000000
[title] =>
[url] =>
)
[logo] => stdClass Object
(
[img] => /_thumbor/vNQzriGL8RfJV3uE8Me9lxjGv9A=/0x67/embed/j/G/jGFjJH5Bg/assets/pcmorale_46ab.png
[url] =>
[position] => left
)
[logo2] => stdClass Object
(
[img] => /_thumbor/vNQzriGL8RfJV3uE8Me9lxjGv9A=/0x67/embed/j/G/jGFjJH5Bg/assets/pcmorale_46ab.png
[url] =>
[position] => left
)
[finePrint] => stdClass Object
(
[name] =>
[text] =>
)
[settings] => stdClass Object
(
[text] => #ffffff
[background] => #30b0fe
[backgroundDarker] => #1090de
)
[customCss] => stdClass Object
(
[style] =>
[styleVal] =>
)
[modules] => Array
(
[0] => stdClass Object
(
[name] => hotspot
[params] => stdClass Object
(
[img] => /_thumbor/5CG1FlmHZFFNAIAjRO83E1gdCww=/28x0:281x253/302x302/embed/j/G/jGFjJH5Bg/assets/pcmorale_21bc.png
[base] => //wpembed.powercontent.pl/_thumbor/Mvd40fz9vinCKB_TuZNy0lA4baM=/embed/j/G/jGFjJH5Bg/assets/pcmorale_21bc.png
[crop] => stdClass Object
(
[top] => 0
[left] => 28
[right] => 281
[bottom] => 253
)
[size] => stdClass Object
(
[h] => 302
[w] => 302
)
[type] => icon-circle-question
[class] => module-square
[title] => hghju
[elements] => Array
(
[0] => stdClass Object
(
[x] => 177
[y] => 57.600006103515625
[id] => jGFjJH5Bg_493669_66471
[top] => 19.072849703151
[left] => 58.609271523179
[text] => hgf
)
)
[fontSize] =>
[moduleId] => jGFjJH5Bg_493669
[original] => /embed/j/G/jGFjJH5Bg/assets/pcmorale_21bc.png
)
)
)
)
=================================================================================stdClass Object
(
[url] => ['//wpembed.powercontent.pl/componentsIndex.html', '//wpembed.powercontent.pl/componentsIndex.js' ]
)
=================================================================================
Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, stdClass given in /in/SC71o:9
Stack trace:
#0 /in/SC71o(9): array_merge(Object(stdClass), Object(stdClass))
#1 {main}
thrown in /in/SC71o on line 9
Process exited with code 255. - Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
- stdClass Object
(
[layout] => lay1x1
[hash] => jGFjJH5Bg
[color] => stdClass Object
(
[text] => #ffffff
[border] => #e1e1e1
[elements] => #30b0fe
[background] => #ffffff
[borderModule] => #e1e1e1
[elementsBorder] => #50d0ff
[elementsDarker] => #1090de
[display] => black
[backgroundImg] =>
)
[font] => stdClass Object
(
[header] =>
[rest] =>
)
[title] => stdClass Object
(
[url] =>
[color] => #000000
[title] =>
[fontSize] =>
)
[title2] => stdClass Object
(
[color] => #000000
[title] =>
[url] =>
)
[title3] => stdClass Object
(
[color] => #000000
[title] =>
[url] =>
)
[logo] => stdClass Object
(
[img] => /_thumbor/vNQzriGL8RfJV3uE8Me9lxjGv9A=/0x67/embed/j/G/jGFjJH5Bg/assets/pcmorale_46ab.png
[url] =>
[position] => left
)
[logo2] => stdClass Object
(
[img] => /_thumbor/vNQzriGL8RfJV3uE8Me9lxjGv9A=/0x67/embed/j/G/jGFjJH5Bg/assets/pcmorale_46ab.png
[url] =>
[position] => left
)
[finePrint] => stdClass Object
(
[name] =>
[text] =>
)
[settings] => stdClass Object
(
[text] => #ffffff
[background] => #30b0fe
[backgroundDarker] => #1090de
)
[customCss] => stdClass Object
(
[style] =>
[styleVal] =>
)
[modules] => Array
(
[0] => stdClass Object
(
[name] => hotspot
[params] => stdClass Object
(
[img] => /_thumbor/5CG1FlmHZFFNAIAjRO83E1gdCww=/28x0:281x253/302x302/embed/j/G/jGFjJH5Bg/assets/pcmorale_21bc.png
[base] => //wpembed.powercontent.pl/_thumbor/Mvd40fz9vinCKB_TuZNy0lA4baM=/embed/j/G/jGFjJH5Bg/assets/pcmorale_21bc.png
[crop] => stdClass Object
(
[top] => 0
[left] => 28
[right] => 281
[bottom] => 253
)
[size] => stdClass Object
(
[h] => 302
[w] => 302
)
[type] => icon-circle-question
[class] => module-square
[title] => hghju
[elements] => Array
(
[0] => stdClass Object
(
[x] => 177
[y] => 57.600006103515625
[id] => jGFjJH5Bg_493669_66471
[top] => 19.072849703151
[left] => 58.609271523179
[text] => hgf
)
)
[fontSize] =>
[moduleId] => jGFjJH5Bg_493669
[original] => /embed/j/G/jGFjJH5Bg/assets/pcmorale_21bc.png
)
)
)
)
=================================================================================stdClass Object
(
[url] => ['//wpembed.powercontent.pl/componentsIndex.html', '//wpembed.powercontent.pl/componentsIndex.js' ]
)
=================================================================================
Warning: array_merge(): Expected parameter 1 to be an array, object given in /in/SC71o on line 9
- Output for 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33
- stdClass Object
(
[layout] => lay1x1
[hash] => jGFjJH5Bg
[color] => stdClass Object
(
[text] => #ffffff
[border] => #e1e1e1
[elements] => #30b0fe
[background] => #ffffff
[borderModule] => #e1e1e1
[elementsBorder] => #50d0ff
[elementsDarker] => #1090de
[display] => black
[backgroundImg] =>
)
[font] => stdClass Object
(
[header] =>
[rest] =>
)
[title] => stdClass Object
(
[url] =>
[color] => #000000
[title] =>
[fontSize] =>
)
[title2] => stdClass Object
(
[color] => #000000
[title] =>
[url] =>
)
[title3] => stdClass Object
(
[color] => #000000
[title] =>
[url] =>
)
[logo] => stdClass Object
(
[img] => /_thumbor/vNQzriGL8RfJV3uE8Me9lxjGv9A=/0x67/embed/j/G/jGFjJH5Bg/assets/pcmorale_46ab.png
[url] =>
[position] => left
)
[logo2] => stdClass Object
(
[img] => /_thumbor/vNQzriGL8RfJV3uE8Me9lxjGv9A=/0x67/embed/j/G/jGFjJH5Bg/assets/pcmorale_46ab.png
[url] =>
[position] => left
)
[finePrint] => stdClass Object
(
[name] =>
[text] =>
)
[settings] => stdClass Object
(
[text] => #ffffff
[background] => #30b0fe
[backgroundDarker] => #1090de
)
[customCss] => stdClass Object
(
[style] =>
[styleVal] =>
)
[modules] => Array
(
[0] => stdClass Object
(
[name] => hotspot
[params] => stdClass Object
(
[img] => /_thumbor/5CG1FlmHZFFNAIAjRO83E1gdCww=/28x0:281x253/302x302/embed/j/G/jGFjJH5Bg/assets/pcmorale_21bc.png
[base] => //wpembed.powercontent.pl/_thumbor/Mvd40fz9vinCKB_TuZNy0lA4baM=/embed/j/G/jGFjJH5Bg/assets/pcmorale_21bc.png
[crop] => stdClass Object
(
[top] => 0
[left] => 28
[right] => 281
[bottom] => 253
)
[size] => stdClass Object
(
[h] => 302
[w] => 302
)
[type] => icon-circle-question
[class] => module-square
[title] => hghju
[elements] => Array
(
[0] => stdClass Object
(
[x] => 177
[y] => 57.600006103515625
[id] => jGFjJH5Bg_493669_66471
[top] => 19.072849703151
[left] => 58.609271523179
[text] => hgf
)
)
[fontSize] =>
[moduleId] => jGFjJH5Bg_493669
[original] => /embed/j/G/jGFjJH5Bg/assets/pcmorale_21bc.png
)
)
)
)
=================================================================================stdClass Object
(
[url] => ['//wpembed.powercontent.pl/componentsIndex.html', '//wpembed.powercontent.pl/componentsIndex.js' ]
)
=================================================================================
Warning: array_merge(): Argument #1 is not an array in /in/SC71o on line 9
preferences:
272.09 ms | 414 KiB | 291 Q