Php two-dimensional array gets the same key value and outputs

now I have a two-dimensional array
array (

)
[aaa_0] => Array
    (
        [2] => 2
        [4] => 4
        [5] => 5
    )
[aaa_1] => Array
    (
        [1] => 1
        [2] => 2
        [5] => 5
    )

[aaa_2] => Array
    (
        [5] => 5
    )

)
how can I retrieve the same key values in aaa_0 and aaa_1 and aaa_2? That is, 5

Php
Mar.05,2021

array_keys gets all the key values of the array
array_intersect gets the same element of both arrays
.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3fb41-43d9c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3fb41-43d9c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?