API Test: Quotable -> SC 11488 (PHP Array – Test)

“Setting an example is not the main means of influencing another, it is the only means.”
Albert Einstein

Gi Branding API Data Tests -> SC 11531 (PHP Array)

1. Targetting Array Items

text : Array
colours : Array
images : Array
dark :

2. Single Targeted Array Item

#5ABDF9
Array

3. Add Targetted Array Items to new HTML Table using PHP
textcoloursimagesdark
textArraycoloursArrayimagesArraydark

PHP ARRAY DATA TESTS -> SC 11629


Note that ARRAYS do NOT need decoding, and will not work if they are decoded.

Print Arrays

Basic Example:

Array
(
    [0] => Volvo
    [1] => BMW
    [2] => Toyota
)

API Example:

Array
(
    [text] => Array
        (
        )

    [colours] => Array
        (
            [primaryBackground] => #5ABDF9
            [primaryLight] => #ECF0F3
            [primaryText] => #0670B1
        )

    [images] => Array
        (
            [avatar] => https://platformcdn.staging.growthinvest.com/branding/b7c0ee5d-c760-4c3c-9959-15ed4a94ebdf/default_avatar.svg?Expires=1718573449&Signature=mcf2rv8X~LS3yAN~cWjLK4~2LLxT6I4CfC6KpFUjfTvfuZLDw6d9KXgkMdlW80xZR2Do5AU9OQoj2DZ-SIcFQbJ~gEO~Mvnub2G3li592SorPLrhIX1q170b5dLO4QzBmy2dc0t25ThClTR2ZkMXS1NVWvSZlBYwQ7sRJEki~-hsU7T65z6K8saZj0E4e9HZ3w~aGr76cyNFMZmD42Gpm-YJlYuOEUJOkCtn9Tw4uLXACIj4U9qa6idW9BhZID1ll5pBGIKUmoneosDWMhUOlh1p7hc03abDq1guP887faPnhBmUqhueDkgHQQ1MmJ9ANIEBh5TWbAmLRWb7JDe3Cg__&Key-Pair-Id=K1UT3NAZQUV8HI
            [favicon] => https://platformcdn.staging.growthinvest.com/branding/b7c0ee5d-c760-4c3c-9959-15ed4a94ebdf/247c510e9630406e98e981050120a418-4361d4cfe2564ad485ee9d37a4eaea85.png?Expires=1718573449&Signature=Sg9hHALzoAEVNbu5SX~oSmxdPZbOyuFrQNyCFq2lRjEBQxIvWpzv~92eNHgo-sVXan8HSRffYIdRnig5~C4BWHJYzWw4g7zWGVLEJqRL7BPg13daLDlv-2pZpO7q3A6IuBvRwbrl~6UDfe1lYGd3q2Jxy3sDwdwX52qXL36D2IZBCQ4fSFCspbMa9ZJpxkf4sSpL~RXJ8i2wNxk~B-ORr5YmsTssZlObPbkRi0yLCmfHhEZMgAGFRV8a9~e8HzgdPwey3WZKnidwum-ciy9Np0CSgXduxoUSMeERo-B9-46zDYcqGrG2kfM-hPUBHewM1vzJ1yr~LK8lf5cWwg9Q~A__&Key-Pair-Id=K1UT3NAZQUV8HI
            [logo] => https://platformcdn.staging.growthinvest.com/branding/b7c0ee5d-c760-4c3c-9959-15ed4a94ebdf/20f5ab6d-34fa-412b-98fd-7197f1f60d3d.svg?Expires=1718573449&Signature=BWDAYIvCKTXGwppg2DZMgI9cKJTw5CyeI6MMZHD55EDhd6yIvMnNWLDxRQCx5QNiG3YlGfFwhtco12AtRFMGrXdovYLRFyUIjlwXY7uEZUMt60OpVou4ybxs3~ZY7Bk3dsaRODVkL7jwVNjusr0GHED9q7PZ2jcGbbvzZwSTp5WPP9UhwAasBNZe-8ZCCC1-Uc6tMg0taalF9MkjmgqUQ24g3LiwxV2CokW21nEpn0KTSzjm2MYl0QJr-9b3T0SWQCTfEgs-~rY5GChZX3zcUml3SCDqtn754sRgGw4QLvqutScaPSaJBeQxrdiKi0Dvgxjo64R-sMFju8Te5g-VLQ__&Key-Pair-Id=K1UT3NAZQUV8HI
        )

    [dark] => 
)

============

Echoing Arrays

Basic Example:

Array

API Example:

Array

============

For Loop Through Arrays

Basic Example:

Volvo
BMW
Toyota

API Example:





If nothing here then the method needs adapting for array type used (jagged?)

============

ForEach Loop Through Arrays

Basic Example:

0 is Volvo
1 is BMW
2 is Toyota

API Example:

text is Array
colours is Array
images is Array
dark is

============

DECODED TESTS START


Print DECODED Arrays – does not work so do not decode!
Echoing DECODED Arrays – does not work so do not decode!
For Loop DECODED – does not work so do not decode!

Manipulation of Multi-Dimensional PHP Array


ForEach Example of hard-coded multi-dimensional test PHP array
Trying to adapt a forEach loop for our decoded API multi-dimensional PHP array !!!!!!!!!!!

NEW BIT

#ECF0F3

END NEW BIT

# 1 
# 2
primaryBackground: #5ABDF9
primaryLight: #ECF0F3
primaryText: #0670B1
# 3 primaryText#0670B1
avatar: https://platformcdn.staging.growthinvest.com/branding/b7c0ee5d-c760-4c3c-9959-15ed4a94ebdf/default_avatar.svg?Expires=1718573449&Signature=mcf2rv8X~LS3yAN~cWjLK4~2LLxT6I4CfC6KpFUjfTvfuZLDw6d9KXgkMdlW80xZR2Do5AU9OQoj2DZ-SIcFQbJ~gEO~Mvnub2G3li592SorPLrhIX1q170b5dLO4QzBmy2dc0t25ThClTR2ZkMXS1NVWvSZlBYwQ7sRJEki~-hsU7T65z6K8saZj0E4e9HZ3w~aGr76cyNFMZmD42Gpm-YJlYuOEUJOkCtn9Tw4uLXACIj4U9qa6idW9BhZID1ll5pBGIKUmoneosDWMhUOlh1p7hc03abDq1guP887faPnhBmUqhueDkgHQQ1MmJ9ANIEBh5TWbAmLRWb7JDe3Cg__&Key-Pair-Id=K1UT3NAZQUV8HI
favicon: https://platformcdn.staging.growthinvest.com/branding/b7c0ee5d-c760-4c3c-9959-15ed4a94ebdf/247c510e9630406e98e981050120a418-4361d4cfe2564ad485ee9d37a4eaea85.png?Expires=1718573449&Signature=Sg9hHALzoAEVNbu5SX~oSmxdPZbOyuFrQNyCFq2lRjEBQxIvWpzv~92eNHgo-sVXan8HSRffYIdRnig5~C4BWHJYzWw4g7zWGVLEJqRL7BPg13daLDlv-2pZpO7q3A6IuBvRwbrl~6UDfe1lYGd3q2Jxy3sDwdwX52qXL36D2IZBCQ4fSFCspbMa9ZJpxkf4sSpL~RXJ8i2wNxk~B-ORr5YmsTssZlObPbkRi0yLCmfHhEZMgAGFRV8a9~e8HzgdPwey3WZKnidwum-ciy9Np0CSgXduxoUSMeERo-B9-46zDYcqGrG2kfM-hPUBHewM1vzJ1yr~LK8lf5cWwg9Q~A__&Key-Pair-Id=K1UT3NAZQUV8HI
logo: https://platformcdn.staging.growthinvest.com/branding/b7c0ee5d-c760-4c3c-9959-15ed4a94ebdf/20f5ab6d-34fa-412b-98fd-7197f1f60d3d.svg?Expires=1718573449&Signature=BWDAYIvCKTXGwppg2DZMgI9cKJTw5CyeI6MMZHD55EDhd6yIvMnNWLDxRQCx5QNiG3YlGfFwhtco12AtRFMGrXdovYLRFyUIjlwXY7uEZUMt60OpVou4ybxs3~ZY7Bk3dsaRODVkL7jwVNjusr0GHED9q7PZ2jcGbbvzZwSTp5WPP9UhwAasBNZe-8ZCCC1-Uc6tMg0taalF9MkjmgqUQ24g3LiwxV2CokW21nEpn0KTSzjm2MYl0QJr-9b3T0SWQCTfEgs-~rY5GChZX3zcUml3SCDqtn754sRgGw4QLvqutScaPSaJBeQxrdiKi0Dvgxjo64R-sMFju8Te5g-VLQ__&Key-Pair-Id=K1UT3NAZQUV8HI
# 4 logohttps://platformcdn.staging.growthinvest.com/branding/b7c0ee5d-c760-4c3c-9959-15ed4a94ebdf/20f5ab6d-34fa-412b-98fd-7197f1f60d3d.svg?Expires=1718573449&Signature=BWDAYIvCKTXGwppg2DZMgI9cKJTw5CyeI6MMZHD55EDhd6yIvMnNWLDxRQCx5QNiG3YlGfFwhtco12AtRFMGrXdovYLRFyUIjlwXY7uEZUMt60OpVou4ybxs3~ZY7Bk3dsaRODVkL7jwVNjusr0GHED9q7PZ2jcGbbvzZwSTp5WPP9UhwAasBNZe-8ZCCC1-Uc6tMg0taalF9MkjmgqUQ24g3LiwxV2CokW21nEpn0KTSzjm2MYl0QJr-9b3T0SWQCTfEgs-~rY5GChZX3zcUml3SCDqtn754sRgGw4QLvqutScaPSaJBeQxrdiKi0Dvgxjo64R-sMFju8Te5g-VLQ__&Key-Pair-Id=K1UT3NAZQUV8HI

Scroll to Top

Market Download Subscribe

The market download is a regular weekly newsletter for financial advisers, wealth managers and industry contacts. If you would like to receive it, please submit a subscription request below, and our team will review and come back to you with any questions. Please note this newsletter is only intended for industry professionals and connected parties.

Global Returns Project: Find Out More or Make A Donation

Please fill in the details below to find out more or to enquire about making a donation to the Global Returns Project.

Download Request​

Please provide your details in order to download this document.

Download Request​

Please provide your details in order to download this document.

Download Request

Please provide your details in order to download this document.

Download Requests

Please provide your details in order to download this document.

Arrange a Demonstration

Please provide as many details as you can and we will get back to you very soon to arrange the demonstration with you.

Sign Up to GrowthInvest

Thank you for signing up for GrowthInvest. Please provide as many details as possible so we can configure your account appropriately.

Message Us or Register Interest

If you would like to leave us a message or register your interest in the GrowthInvest platform, please leave a few details outlining how we can help and we will get back to you very soon.

Message Sent

Thanks for your message. We will be in touch soon.