Posted in php
17
4:19 am, June 3, 2021

counting the occurrence of words in a multidimensional array

array sorting example

The array

Array
(
    [0] => Array
        (
            [0] => Some
            [1] => great-looking
            [2] => special
            [3] => editions
            [4] => are
            [5] => coming
            [6] => for
            [7] => Biomutant;
            [8] => check
            [9] => them
            [10] => out
            [11] => in
            [12] => our
            [13] => preorder
            [14] => guide.
        )

    [1] => Array
        (
            [0] => An
            [1] => IGN
            [2] => interview
            [3] => with
            [4] => the
            [5] => developers
            [6] => of
            [7] => Biomutant.
            [8] => Gameplay
            [9] => is
            [10] => shown
            [11] => through
            [12] => the
            [13] => interview.
        )

    [2] => Array
        (
            [0] => Toby
            [1] => @
            [2] => FG:
            [3] => I
            [4] => just
            [5] => want
            [6] => to
            [7] => gush
            [8] => a
            [9] => bit
            [10] => about
            [11] => the
            [12] => new
            [13] => Biomutant.
            [14] => Is
            [15] => that
            [16] => okay
            [17] => with
            [18] => you?
        )

    [3] => Array
        (
            [0] => Some
            [1] => great-looking
            [2] => special
            [3] => editions
            [4] => are
            [5] => coming
            [6] => for
            [7] => Biomutant;
            [8] => check
            [9] => them
            [10] => out
            [11] => in
            [12] => our
            [13] => preorder
            [14] => guide.
        )

    [4] => Array
        (
            [0] => THQ
            [1] => Nordic
            [2] => has
            [3] => set
            [4] => a
            [5] => May
            [6] => release
            [7] => date
            [8] => for
            [9] => Biomutant.
        )

    [5] => Array
        (
            [0] => Biomutant
            [1] => developer
            [2] => Experiment
            [3] => 101
            [4] => gives
            [5] => us
            [6] => the
            [7] => lowdown
            [8] => on
            [9] => what
            [10] => it
            [11] => has
            [12] => been
            [13] => up
            [14] => to
            [15] => over
            [16] => its
            [17] => long
            [18] => period
            [19] => of
            [20] => silence.
        )

    [6] => Array
        (
            [0] => On
            [1] => this
            [2] => weeks
            [3] => show
            [4] => the
            [5] => gang
            [6] => talks
            [7] => Xbox
            [8] => Live,
            [9] => continued
            [10] => PS5/SX
            [11] => shortages,
            [12] => Gears
            [13] => 5,
            [14] => Cyber
            [15] => Shadows,
            [16] => what
            [17] => is
            [18] => Biomutant
            [19] => and
            [20] => more!
        )

    [7] => Array
        (
            [0] => Biomutant's
            [1] => creative
            [2] => director
            [3] => explains
            [4] => the
            [5] => gameplay
            [6] => behind
            [7] => the
            [8] => game's
            [9] => three
            [10] => main
            [11] => design
            [12] => pillars,
            [13] => from
            [14] => capturing
            [15] => tribal
            [16] => outposts
            [17] => to
            [18] => defeating
            [19] => bosses
            [20] => and
            [21] => saving
            [22] => a
            [23] => tree.
        )

    [8] => Array
        (
            [0] => Eurogamer
            [1] => interviews
            [2] => Biomutant
            [3] => developer
            [4] => Experiment
            [5] => 101
            [6] => to
            [7] => catch
            [8] => up
            [9] => with
            [10] => the
            [11] => latest
            [12] => on
            [13] => its
            [14] => development
            [15] => and
            [16] => what
            [17] => happened
            [18] => with
            [19] => the
            [20] => delays.
        )

    [9] => Array
        (
            [0] => Experiment
            [1] => 101
            [2] => has
            [3] => revealed
            [4] => the
            [5] => official
            [6] => PC
            [7] => system
            [8] => requirements
            [9] => for
            [10] => Biomutant.
        )

    [10] => Array
        (
            [0] => A
            [1] => Biomutant
            [2] => pre-order
            [3] => bonus
            [4] => locks
            [5] => the
            [6] => entire
            [7] => Mercenary
            [8] => class
            [9] => behind
            [10] => a
            [11] => pre-purchase
            [12] => of
            [13] => the
            [14] => game,
            [15] => a
            [16] => new
            [17] => trailer
            [18] => for
            [19] => the
            [20] => PC,
            [21] => PS4,
            [22] => and
            [23] => Xbox
            [24] => One
            [25] => game
            [26] => has
            [27] => revealed.
        )

    [11] => Array
        (
            [0] => Biomutant
            [1] => is
            [2] => coming
            [3] => to
            [4] => PC,
            [5] => PlayStation
            [6] => 4,
            [7] => and
            [8] => Xbox
            [9] => One
            [10] => on
            [11] => May
            [12] => 25th,
            [13] => 2021.
        )

    [12] => Array
        (
            [0] => Some
            [1] => great-looking
            [2] => special
            [3] => editions
            [4] => are
            [5] => coming
            [6] => for
            [7] => Biomutant;
            [8] => check
            [9] => them
            [10] => out
            [11] => in
            [12] => our
            [13] => preorder
            [14] => guide.
        )

    [13] => Array
        (
            [0] => With
            [1] => a
            [2] => large
            [3] => amount
            [4] => of
            [5] => freedom,
            [6] => open-world
            [7] => RPG
            [8] => Biomutant
            [9] => looks
            [10] => to
            [11] => give
            [12] => you
            [13] => a
            [14] => ridiculous
            [15] => number
            [16] => of
            [17] => ways
            [18] => to
            [19] => explore
            [20] => and
            [21] => fight
            [22] => within
            [23] => it.
        )

    [14] => Array
        (
            [0] => With
            [1] => Biomutant
            [2] => set
            [3] => to
            [4] => come
            [5] => out
            [6] => at
            [7] => the
            [8] => end
            [9] => of
            [10] => the
            [11] => month,
            [12] => THQ
            [13] => Nordic
            [14] => has
            [15] => decided
            [16] => now
            [17] => is
            [18] => the
            [19] => perfect
            [20] => time
            [21] => to
            [22] => open
            [23] => up
            [24] => a
            [25] => merch
            [26] => store,
            [27] => complete
            [28] => with
            [29] => an
            [30] => adorable
            [31] => foot-tall
            [32] => plush
            [33] => version
            [34] => of
            [35] => the
            [36] => game's
            [37] => fluffy
            [38] => hero.
        )

    [15] => Array
        (
            [0] => Biomutant
            [1] => will
            [2] => release
            [3] => next
            [4] => week!
            [5] => We
            [6] => know
            [7] => everyone
            [8] => is
            [9] => excited
            [10] => but
            [11] => some
            [12] => people
            [13] => still
            [14] => might
            [15] => wonder
            [16] => how
            [17] => certain
            [18] => parts
            [19] => of
            [20] => Biomutant
            [21] => work,
            [22] => how
            [23] => crafting
            [24] => is
            [25] => done
            [26] => and
            [27] => what
            [28] => the
            [29] => Aura
            [30] => system
            [31] => all
            [32] => about.
            [33] => To
            [34] => that
            [35] => end,
            [36] => we
            [37] => sat
            [38] => down
            [39] => with
            [40] => Stefan
            [41] => Ljungqvist,
            [42] => Art
            [43] => &
            [44] => Creative
            [45] => Director
            [46] => at
            [47] => Experiment
            [48] => 101,
            [49] => and
            [50] => asked
            [51] => him
            [52] => to
            [53] => tell
            [54] => us
            [55] => more
            [56] => about
            [57] => the
            [58] => world
            [59] => of
            [60] => Biomutant.
            [61] => We
            [62] => captured
            [63] => it
            [64] => all
            [65] => in
            [66] => the
            [67] => new
            [68] => Explanation
            [69] => Trailer.
        )

    [16] => Array
        (
            [0] => THQ
            [1] => Nordic
            [2] => finally
            [3] => confirms
            [4] => current-gen
            [5] => versions
            [6] => of
            [7] => Biomutant
            [8] => are
            [9] => in
            [10] => development.
        )

    [17] => Array
        (
            [0] => With
            [1] => the
            [2] => release
            [3] => of
            [4] => Biomutant
            [5] => just
            [6] => around
            [7] => the
            [8] => corner,
            [9] => we
            [10] => look
            [11] => at
            [12] => some
            [13] => of
            [14] => the
            [15] => things
            [16] => you
            [17] => need
            [18] => to
            [19] => know
            [20] => before
            [21] => jumping
            [22] => into
            [23] => its
            [24] => weird
            [25] => world.
        )

    [18] => Array
        (
            [0] => Biomutant
            [1] => is
            [2] => the
            [3] => least
            [4] => fun
            [5] => Ive
            [6] => had
            [7] => with
            [8] => a
            [9] => game
            [10] => in
            [11] => a
            [12] => while.
            [13] => Broken,
            [14] => shallow,
            [15] => and
            [16] => above
            [17] => all,
            [18] => BORING.
            [19] => This
            [20] => mutant
            [21] => shouldve
            [22] => stayed
            [23] => in
            [24] => the
            [25] => Ooze.
        )

    [19] => Array
        (
            [0] => Despite
            [1] => some
            [2] => interesting
            [3] => ideas,
            [4] => Biomutant
            [5] => commits
            [6] => the
            [7] => cardinal
            [8] => sin
            [9] => of
            [10] => media
            [11] => 
            [12] => its
            [13] => boring,
            [14] => and
            [15] => that
            [16] => ultimately
            [17] => seals
            [18] => its
            [19] => fate.
        )

    [20] => Array
        (
            [0] => Arka
            [1] => from
            [2] => Gameffine
            [3] => writes,
            [4] => "for
            [5] => people
            [6] => who
            [7] => are
            [8] => itching
            [9] => for
            [10] => a
            [11] => chill
            [12] => game
            [13] => to
            [14] => explore
            [15] => in
            [16] => these
            [17] => troubling
            [18] => times,
            [19] => I
            [20] => would
            [21] => say
            [22] => Biomutant
            [23] => is
            [24] => a
            [25] => game
            [26] => worth
            [27] => buying
            [28] => as
            [29] => long
            [30] => as
            [31] => you
            [32] => keep
            [33] => your
            [34] => expectations
            [35] => in
            [36] => check."
        )

    [21] => Array
        (
            [0] => XBA
            [1] => says:
            [2] => The
            [3] => four
            [4] => year
            [5] => wait
            [6] => for
            [7] => Biomutant
            [8] => is
            [9] => over
            [10] => and
            [11] => has
            [12] => been
            [13] => absolutely
            [14] => worth
            [15] => it.
        )

    [22] => Array
        (
            [0] => THQ
            [1] => Nordic
            [2] => delivers
            [3] => an
            [4] => environmentally-minded
            [5] => adventure
            [6] => that's
            [7] => packed
            [8] => with
            [9] => a
            [10] => thousand
            [11] => pieces
            [12] => of
            [13] => inconsequence.
        )

    [23] => Array
        (
            [0] => Push
            [1] => Square:
            [2] => "Biomutant
            [3] => could
            [4] => have
            [5] => been
            [6] => something
            [7] => special,
            [8] => but
            [9] => the
            [10] => ambitious
            [11] => project
            [12] => fails
            [13] => to
            [14] => capitalise
            [15] => on
            [16] => what
            [17] => it
            [18] => does
            [19] => differently.
            [20] => Trapped
            [21] => in
            [22] => the
            [23] => clutches
            [24] => of
            [25] => an
            [26] => open
            [27] => world
            [28] => from
            [29] => a
            [30] => generation
            [31] => past,
            [32] => its
            [33] => own
            [34] => ideas
            [35] => are
            [36] => thwarted
            [37] => by
            [38] => an
            [39] => overload
            [40] => of
            [41] => other
            [42] => mechanics
            [43] => and
            [44] => overwhelming
            [45] => menus.
            [46] => By
            [47] => trying
            [48] => to
            [49] => do
            [50] => so
            [51] => much,
            [52] => Biomutant
            [53] => skipped
            [54] => the
            [55] => part
            [56] => where
            [57] => it
            [58] => built
            [59] => a
            [60] => solid
            [61] => basis
            [62] => to
            [63] => work
            [64] => from.
            [65] => While
            [66] => there's
            [67] => still
            [68] => potential
            [69] => here,
            [70] => Experiment
            [71] => 101's
            [72] => first
            [73] => attempt
            [74] => hasn't
            [75] => realised
            [76] => it."
        )

    [24] => Array
        (
            [0] => Biomutant
            [1] => is
            [2] => a
            [3] => hugely
            [4] => creative
            [5] => and
            [6] => ambitious
            [7] => idea,
            [8] => that
            [9] => sadly
            [10] => falls
            [11] => flat
            [12] => in
            [13] => several
            [14] => key
            [15] => areas.
        )

    [25] => Array
        (
            [0] => Half-Glass
            [1] => Gaming
            [2] => writes:
            [3] => 
            [4] => "I'm
            [5] => reading
            [6] => a
            [7] => lot
            [8] => of
            [9] => Biomutant
            [10] => reviews
            [11] => that
            [12] => make
            [13] => it
            [14] => feel
            [15] => like
            [16] => people
            [17] => are
            [18] => playing
            [19] => a
            [20] => completely
            [21] => different
            [22] => game
            [23] => than
            [24] => the
            [25] => one
            [26] => I
            [27] => sank
            [28] => 100
            [29] => hours
            [30] => into.Kotakus
            [31] => review,
            [32] => for
            [33] => example,
            [34] => makes
            [35] => me
            [36] => think
            [37] => the
            [38] => reviewer
            [39] => didnt
            [40] => actually
            [41] => play
            [42] => the
            [43] => game."
        )

    [26] => Array
        (
            [0] => WTMG's
            [1] => Jordan
            [2] => Hawes:
            [3] => "It
            [4] => was
            [5] => a
            [6] => long
            [7] => road
            [8] => for
            [9] => Biomutant
            [10] => and
            [11] => I
            [12] => am
            [13] => still
            [14] => impressed
            [15] => how
            [16] => much
            [17] => a
            [18] => twenty
            [19] => person
            [20] => team
            [21] => accomplished.
            [22] => I
            [23] => feel
            [24] => that
            [25] => in
            [26] => a
            [27] => lot
            [28] => of
            [29] => ways
            [30] => Experiment
            [31] => 101
            [32] => just
            [33] => got
            [34] => too
            [35] => ambitious
            [36] => with
            [37] => this
            [38] => title
            [39] => and
            [40] => it
            [41] => ended
            [42] => up
            [43] => backfiring
            [44] => a
            [45] => bit.
            [46] => Instead
            [47] => of
            [48] => having
            [49] => a
            [50] => hyper
            [51] => focus
            [52] => on
            [53] => its
            [54] => own
            [55] => identity,
            [56] => it
            [57] => instead
            [58] => feels
            [59] => like
            [60] => a
            [61] => compilation
            [62] => of
            [63] => the
            [64] => last
            [65] => ten
            [66] => years
            [67] => of
            [68] => open
            [69] => world
            [70] => action
            [71] => RPGs.
            [72] => I
            [73] => dont
            [74] => feel
            [75] => Biomutant
            [76] => is
            [77] => a
            [78] => failure
            [79] => since
            [80] => it
            [81] => still
            [82] => offered
            [83] => what
            [84] => I
            [85] => was
            [86] => expecting.
            [87] => A
            [88] => crazy
            [89] => RPG
            [90] => set
            [91] => in
            [92] => a
            [93] => weird
            [94] => setting
            [95] => filled
            [96] => with
            [97] => mutated
            [98] => creatures
            [99] => and
            [100] => fun
            [101] => combat.
            [102] => I
            [103] => definitely
            [104] => I
            [105] => got
            [106] => that.
            [107] => I
            [108] => also
            [109] => unfortunately
            [110] => got
            [111] => way
            [112] => more
            [113] => than
            [114] => expected,
            [115] => which
            [116] => ended
            [117] => up
            [118] => diluting
            [119] => the
            [120] => entire
            [121] => package."
        )

    [27] => Array
        (
            [0] => Biomutant
            [1] => sags
            [2] => under
            [3] => the
            [4] => weight
            [5] => of
            [6] => its
            [7] => various
            [8] => disparate
            [9] => elements,
            [10] => leading
            [11] => to
            [12] => a
            [13] => game
            [14] => which
            [15] => looks
            [16] => gorgeous,
            [17] => but
            [18] => is
            [19] => frustratingly
            [20] => mediocre.
        )

    [28] => Array
        (
            [0] => From
            [1] => GamesReviews:
            [2] => "Biomutant
            [3] => is
            [4] => a
            [5] => fun
            [6] => but
            [7] => flawed
            [8] => experience,
            [9] => which
            [10] => some
            [11] => will
            [12] => judge
            [13] => too
            [14] => harshly
            [15] => too
            [16] => quickly.
            [17] => With
            [18] => time,
            [19] => players
            [20] => will
            [21] => find
            [22] => a
            [23] => surprising
            [24] => depth."
        )

    [29] => Array
        (
            [0] => Biomutant
            [1] => is
            [2] => a
            [3] => game
            [4] => that
            [5] => tries
            [6] => a
            [7] => lot
            [8] => of
            [9] => new
            [10] => things
            [11] => and
            [12] => only
            [13] => fails
            [14] => at
            [15] => a
            [16] => few.
            [17] => Its
            [18] => vibrant
            [19] => and
            [20] => unique
            [21] => world
            [22] => makes
            [23] => it
            [24] => worth
            [25] => playing.
        )

    [30] => Array
        (
            [0] => Typically
            [1] => in
            [2] => a
            [3] => game
            [4] => like
            [5] => Biomutant,
            [6] => if
            [7] => the
            [8] => solution
            [9] => isn't
            [10] => obvious,
            [11] => you
            [12] => probably
            [13] => haven't
            [14] => done
            [15] => the
            [16] => right
            [17] => quest
            [18] => yet.
            [19] => There
            [20] => are
            [21] => a
            [22] => good
            [23] => number
            [24] => of
            [25] => hidden
            [26] => items,
            [27] => advanced
            [28] => content,
            [29] => secret
            [30] => weapons,
            [31] => and
            [32] => more
            [33] => but
            [34] => one
            [35] => thing
            [36] => you
            [37] => don't
            [38] => unlock
            [39] => is
            [40] => a
            [41] => way
            [42] => to
            [43] => cross
            [44] => the
            [45] => oil.
        )

    [31] => Array
        (
            [0] => No
            [1] => open-world
            [2] => RPG
            [3] => would
            [4] => be
            [5] => complete
            [6] => without
            [7] => a
            [8] => series
            [9] => of
            [10] => fetch
            [11] => quests
            [12] => and
            [13] => Biomutant
            [14] => is
            [15] => no
            [16] => exception.
            [17] => In
            [18] => fact,
            [19] => a
            [20] => good
            [21] => portion
            [22] => of
            [23] => the
            [24] => quests
            [25] => is
            [26] => centered
            [27] => around
            [28] => finding
            [29] => items
            [30] => referred
            [31] => to
            [32] => as
            [33] => "old
            [34] => world
            [35] => gadgets"
            [36] => and
            [37] => making
            [38] => use
            [39] => of
            [40] => them.
            [41] => Be
            [42] => it
            [43] => phone
            [44] => booths,
            [45] => televisions,
            [46] => or
            [47] => even
            [48] => safe
            [49] => boxes,
            [50] => there
            [51] => are
            [52] => countless
            [53] => of
            [54] => these
            [55] => items
            [56] => to
            [57] => find,
            [58] => but
            [59] => are
            [60] => they
            [61] => worth
            [62] => the
            [63] => grind?
        )

    [32] => Array
        (
            [0] => Biomutant
            [1] => has
            [2] => plenty
            [3] => of
            [4] => room
            [5] => for
            [6] => improvement
            [7] => and
            [8] => the
            [9] => best
            [10] => way
            [11] => to
            [12] => describe
            [13] => it
            [14] => is
            [15] => as
            [16] => an
            [17] => utter
            [18] => waste
            [19] => of
            [20] => potential.
        )

    [33] => Array
        (
            [0] => The
            [1] => wait
            [2] => is
            [3] => finally
            [4] => over.
            [5] => Biomutant
            [6] => is
            [7] => here.
            [8] => In
            [9] => all
            [10] => its
            [11] => glory,
            [12] => and
            [13] => pitfalls
            [14] => and
            [15] => Joseph
            [16] => at
            [17] => Skewed
            [18] => and
            [19] => Reviewed
            [20] => said
            [21] => it
            [22] => is
            [23] => not
            [24] => as
            [25] => bad
            [26] => as
            [27] => some
            [28] => say
            [29] => as
            [30] => long
            [31] => as
            [32] => players
            [33] => are
            [34] => realistic
            [35] => with
            [36] => their
            [37] => expectations.
        )

    [34] => Array
        (
            [0] => Half-Glass
            [1] => Gaming
            [2] => writes:
            [3] => "In
            [4] => Biomutant,
            [5] => melee
            [6] => combat
            [7] => feels
            [8] => overwhelmingly
            [9] => punishing.
            [10] => Thankfully,
            [11] => I
            [12] => found
            [13] => a
            [14] => workaround
            [15] => 
            [16] => pumping
            [17] => everything
            [18] => I
            [19] => had
            [20] => into
            [21] => Luck
            [22] => and
            [23] => then
            [24] => using
            [25] => ranged
            [26] => weapons
            [27] => almost
            [28] => exclusively.
            [29] => This
            [30] => turns
            [31] => Biomutant
            [32] => into
            [33] => a
            [34] => looter-shooter
            [35] => instead
            [36] => of
            [37] => a
            [38] => kung-fu
            [39] => game,
            [40] => making
            [41] => it
            [42] => more
            [43] => playable
            [44] => and
            [45] => immensely
            [46] => more
            [47] => enjoyable."
        )

    [35] => Array
        (
            [0] => Let
            [1] => us
            [2] => show
            [3] => you
            [4] => how
            [5] => to
            [6] => find
            [7] => and
            [8] => upgrade
            [9] => the
            [10] => Googlide
            [11] => jet
            [12] => ski
            [13] => to
            [14] => travel
            [15] => around
            [16] => the
            [17] => watery
            [18] => Surfipelago
            [19] => region
            [20] => in
            [21] => Biomutant.
        )

    [36] => Array
        (
            [0] => This
            [1] => week's
            [2] => Famitsu
            [3] => review
            [4] => scores
            [5] => are
            [6] => in.
            [7] => 
Biomutant
            [8] => (PS4,
            [9] => Xbox
            [10] => One)
            [11] => 
            [12] => 7/8/8/8
            [13] => [31/40]
            [14] => 
DC
            [15] => Super
            [16] => Hero
            [17] => Girls:
            [18] => Teen
            [19] => Power
            [20] => (Switch)
            [21] => 
            [22] => 8/8/8/8
            [23] => [32/40]
            [24] => 
Returnal
            [25] => (PS5)
            [26] => 
            [27] => 9/9/8/9
            [28] => [35/40]
Wing
            [29] => of
            [30] => Darkness
            [31] => (PS4,
            [32] => Switch)
            [33] => 
            [34] => 7/7/7/7
            [35] => [28/40]
        )

    [37] => Array
        (
            [0] => Chris
            [1] => writes:
            [2] => "Biomutant's
            [3] => open
            [4] => world
            [5] => is
            [6] => one
            [7] => that
            [8] => leaves
            [9] => a
            [10] => lot
            [11] => to
            [12] => be
            [13] => desired,
            [14] => serving
            [15] => as
            [16] => a
            [17] => reminder
            [18] => to
            [19] => the
            [20] => industry
            [21] => that
            [22] => open
            [23] => worlds
            [24] => aren't
            [25] => everything."
        )

    [38] => Array
        (
            [0] => The
            [1] => developer
            [2] => behind
            [3] => Biomutant
            [4] => has
            [5] => said
            [6] => an
            [7] => upcoming
            [8] => update
            [9] => will
            [10] => make
            [11] => significant
            [12] => improvements
            [13] => to
            [14] => the
            [15] => game.
        )

    [39] => Array
        (
            [0] => "Biomutant
            [1] => is
            [2] => like
            [3] => the
            [4] => potato
            [5] => salad
            [6] => at
            [7] => a
            [8] => cookout.
            [9] => Some
            [10] => folks
            [11] => might
            [12] => like
            [13] => it
            [14] => and
            [15] => may
            [16] => even
            [17] => come
            [18] => back
            [19] => for
            [20] => seconds
            [21] => but
            [22] => nearly
            [23] => everyone
            [24] => else
            [25] => will
            [26] => wonder
            [27] => why
            [28] => the
            [29] => heck
            [30] => anyone
            [31] => would
            [32] => bother,
            [33] => especially
            [34] => because
            [35] => there's
            [36] => a
            [37] => huge
            [38] => stack
            [39] => of
            [40] => juicy
            [41] => steaks
            [42] => and
            [43] => burgers
            [44] => right
            [45] => there."
            [46] => -
            [47] => A.J.
            [48] => Maciejewski
            [49] => from
            [50] => Video
            [51] => Chums
        )

    [40] => Array
        (
            [0] => WG:
            [1] => Biomutant
            [2] => is
            [3] => a
            [4] => love
            [5] => letter
            [6] => to
            [7] => games
            [8] => from
            [9] => the
            [10] => last
            [11] => decade,
            [12] => but
            [13] => could
            [14] => have
            [15] => been
            [16] => better.
        )

    [41] => Array
        (
            [0] => This
            [1] => Biomutant
            [2] => guide
            [3] => will
            [4] => teach
            [5] => you
            [6] => how
            [7] => to
            [8] => customize
            [9] => character
            [10] => appearance
            [11] => so
            [12] => you
            [13] => can
            [14] => keep
            [15] => up
            [16] => with
            [17] => post-post-apocalyptic
            [18] => trends!
        )

    [42] => Array
        (
            [0] => Kuma
            [1] => here
            [2] => with
            [3] => our
            [4] => review
            [5] => of
            [6] => Biomutant
            [7] => from
            [8] => Experiment
            [9] => 101
            [10] => giving
            [11] => us
            [12] => a
            [13] => new
            [14] => tale
            [15] => of
            [16] => vengeance
            [17] => and
            [18] => having
            [19] => a
            [20] => heart.
        )

)

The Sort Function

    // sort an array and count items.. multi dimention.
    function array_icount_values($arr,$lower=true) {
         $arr2=array();
         if(!is_array($arr['0'])){$arr=array($arr);}
         foreach($arr as $k=> $v){
          foreach($v as $v2){
          if($lower==true) {$v2=strtolower($v2);}
          if(!isset($arr2[$v2])){
              $arr2[$v2]=1;
          }else{
               $arr2[$v2]++;
               }
        }
        }
        return $arr2;
    }
    $res = array_icount_values ($words_array);
    asort($res);


The Result

Array
(
    [the] => 51
    [a] => 49
    [of] => 35
    [and] => 31
    [biomutant] => 30
    [to] => 28
    [is] => 25
    [in] => 17
    [with] => 17
    [it] => 14
    [i] => 12
    [are] => 12
    [for] => 12
    [its] => 10
    [that] => 9
    [some] => 9
    [as] => 9
    [but] => 8
    [game] => 8
    [has] => 8
    [you] => 8
    [from] => 7
    [] => 7
    [experiment] => 7
    [an] => 7
    [up] => 6
    [world] => 6
    [what] => 6
    [on] => 6
    [will] => 6
    [at] => 6
    [this] => 6
    [biomutant.] => 6
    [like] => 5
    [open] => 5
    [one] => 5
    [new] => 5
    [more] => 5
    [how] => 5
    [101] => 5
    [we] => 4
    [long] => 4
    [still] => 4
    [been] => 4
    [coming] => 4
    [us] => 4
    [xbox] => 4
    [worth] => 4
    [out] => 4
    [nordic] => 4
    [thq] => 4
    [our] => 4
    [lot] => 4
    [ambitious] => 3
    [check] => 3
    [people] => 3
    [around] => 3
    [them] => 3
    [behind] => 3
    [would] => 3
    [all] => 3
    ["biomutant] => 3
    [preorder] => 3
    [guide.] => 3
    [be] => 3
    [instead] => 3
    [creative] => 3
    [just] => 3
    [into] => 3
    [biomutant;] => 3
    [great-looking] => 3
    [may] => 3
    [release] => 3
    [writes:] => 3
    [way] => 3
    [developer] => 3
    [editions] => 3
    [special] => 3
    [feel] => 3
    [got] => 3
    [too] => 3
    [which] => 3
    [fun] => 3
    [rpg] => 3
    [set] => 3
    [finally] => 2
    [ways] => 2
    [number] => 2
    [things] => 2
    [it.] => 2
    [explore] => 2
    [done] => 2
    [know] => 2
    [come] => 2
    [(ps4,] => 2
    [wonder] => 2
    [might] => 2
    [complete] => 2
    [everyone] => 2
    [review] => 2
    [quests] => 2
    [weird] => 2
    [by] => 2
    [than] => 2
    [make] => 2
    [gaming] => 2
    [makes] => 2
    [half-glass] => 2
    [was] => 2
    [last] => 2
    [there's] => 2
    [feels] => 2
    [players] => 2
    [ended] => 2
    [find] => 2
    [so] => 2
    [biomutant,] => 2
    [right] => 2
    [said] => 2
    [items] => 2
    [had] => 2
    [even] => 2
    [these] => 2
    [making] => 2
    [say] => 2
    [keep] => 2
    [wait] => 2
    [own] => 2
    [no] => 2
    [could] => 2
    [have] => 2
    [fails] => 2
    [good] => 2
    [there] => 2
    [looks] => 2
    [having] => 2
    [open-world] => 2
    [pc,] => 2
    [director] => 2
    [show] => 2
    [over] => 2
    [about] => 2
    [system] => 2
    [entire] => 2
    [game,] => 2
    [game's] => 2
    [gameplay] => 2
    [here] => 1
    [solution] => 1
    [a.j.] => 1
    [yet.] => 1
    [quest] => 1
    [maciejewski] => 1
    [video] => 1
    [haven't] => 1
    [hyper] => 1
    [probably] => 1
    [obvious,] => 1
    [isn't] => 1
    [if] => 1
    [hidden] => 1
    [chums] => 1
    [typically] => 1
    [wg:] => 1
    [playing.] => 1
    [unique] => 1
    [vibrant] => 1
    [few.] => 1
    [only] => 1
    [tries] => 1
    [depth."] => 1
    [surprising] => 1
    [love] => 1
    [-] => 1
    [items,] => 1
    [letter] => 1
    [oil.] => 1
    [centered] => 1
    [portion] => 1
    [fact,] => 1
    [exception.] => 1
    [vengeance] => 1
    [especially] => 1
    [fetch] => 1
    [series] => 1
    [without] => 1
    [because] => 1
    [huge] => 1
    [cross] => 1
    [advanced] => 1
    [unlock] => 1
    [don't] => 1
    [thing] => 1
    [stack] => 1
    [juicy] => 1
    [steaks] => 1
    [weapons,] => 1
    [secret] => 1
    [burgers] => 1
    [content,] => 1
    [there."] => 1
    [tale] => 1
    [games] => 1
    [ten] => 1
    [filled] => 1
    [can] => 1
    [identity,] => 1
    [post-post-apocalyptic] => 1
    [unfortunately] => 1
    [also] => 1
    [that.] => 1
    [definitely] => 1
    [combat.] => 1
    [trends!] => 1
    [creatures] => 1
    [mutated] => 1
    [setting] => 1
    [appearance] => 1
    [crazy] => 1
    [compilation] => 1
    [expecting.] => 1
    [offered] => 1
    [since] => 1
    [failure] => 1
    [dont] => 1
    [rpgs.] => 1
    [kuma] => 1
    [action] => 1
    [years] => 1
    [expected,] => 1
    [diluting] => 1
    [time,] => 1
    [disparate] => 1
    [quickly.] => 1
    [harshly] => 1
    [judge] => 1
    [finding] => 1
    [flawed] => 1
    [gamesreviews:] => 1
    [mediocre.] => 1
    [frustratingly] => 1
    [gorgeous,] => 1
    [leading] => 1
    [elements,] => 1
    [various] => 1
    [focus] => 1
    [weight] => 1
    [decade,] => 1
    [better.] => 1
    [guide] => 1
    [under] => 1
    [sags] => 1
    [giving] => 1
    [package."] => 1
    [teach] => 1
    [customize] => 1
    [character] => 1
    [experience,] => 1
    [anyone] => 1
    [bother,] => 1
    [industry] => 1
    [jet] => 1
    ["biomutant's] => 1
    [leaves] => 1
    [desired,] => 1
    [serving] => 1
    [googlide] => 1
    [upgrade] => 1
    [let] => 1
    [enjoyable."] => 1
    [reminder] => 1
    [immensely] => 1
    [playable] => 1
    [[28/40]] => 1
    [kung-fu] => 1
    [looter-shooter] => 1
    [turns] => 1
    [worlds] => 1
    [almost] => 1
    [weapons] => 1
    [ranged] => 1
    [using] => 1
    [then] => 1
    [luck] => 1
    [everything] => 1
    [aren't] => 1
    [chris] => 1
    [7/7/7/7] => 1
    [pumping] => 1
    [7/8/8/8] => 1
    [power] => 1
    [girls:] => 1
    [(switch)] => 1
    [8/8/8/8] => 1
    [[32/40]] => 1
    [hero] => 1
    [super] => 1
    [
returnal] => 1
    [(ps5)] => 1
    [9/9/8/9] => 1
    [
dc] => 1
    [[31/40]] => 1
    [one)] => 1
    [ski] => 1
    [[35/40]
wing] => 1
    [
biomutant] => 1
    [darkness] => 1
    [in.] => 1
    [scores] => 1
    [switch)] => 1
    [famitsu] => 1
    [week's] => 1
    [region] => 1
    [surfipelago] => 1
    [watery] => 1
    [travel] => 1
    [everything."] => 1
    [workaround] => 1
    [referred] => 1
    [or] => 1
    [best] => 1
    [improvement] => 1
    [room] => 1
    [plenty] => 1
    [grind?] => 1
    [they] => 1
    [folks] => 1
    [find,] => 1
    [countless] => 1
    [boxes,] => 1
    [safe] => 1
    [back] => 1
    [televisions,] => 1
    [utter] => 1
    [booths,] => 1
    [phone] => 1
    [them.] => 1
    [use] => 1
    [seconds] => 1
    [nearly] => 1
    [gadgets"] => 1
    [else] => 1
    [why] => 1
    [heck] => 1
    ["old] => 1
    [teen] => 1
    [describe] => 1
    [waste] => 1
    [found] => 1
    [improvements] => 1
    [upcoming] => 1
    [thankfully,] => 1
    [punishing.] => 1
    [overwhelmingly] => 1
    [combat] => 1
    [update] => 1
    [melee] => 1
    ["in] => 1
    [significant] => 1
    [expectations.] => 1
    [their] => 1
    [realistic] => 1
    [game.] => 1
    [potential.] => 1
    [bad] => 1
    [not] => 1
    [potato] => 1
    [salad] => 1
    [cookout.] => 1
    [reviewed] => 1
    [skewed] => 1
    [joseph] => 1
    [pitfalls] => 1
    [glory,] => 1
    [here.] => 1
    [over.] => 1
    [exclusively.] => 1
    [potential] => 1
    [bit.] => 1
    [decided] => 1
    [next] => 1
    [hero.] => 1
    [fluffy] => 1
    [version] => 1
    [plush] => 1
    [foot-tall] => 1
    [adorable] => 1
    [store,] => 1
    [merch] => 1
    [time] => 1
    [perfect] => 1
    [now] => 1
    [month,] => 1
    [excited] => 1
    [end] => 1
    [within] => 1
    [fight] => 1
    [ridiculous] => 1
    [give] => 1
    [freedom,] => 1
    [amount] => 1
    [large] => 1
    [2021.] => 1
    [25th,] => 1
    [4,] => 1
    [playstation] => 1
    [revealed.] => 1
    [week!] => 1
    [certain] => 1
    [trailer] => 1
    [tell] => 1
    [world.] => 1
    [jumping] => 1
    [before] => 1
    [need] => 1
    [look] => 1
    [corner,] => 1
    [development.] => 1
    [versions] => 1
    [current-gen] => 1
    [confirms] => 1
    [trailer.] => 1
    [explanation] => 1
    [captured] => 1
    [him] => 1
    [parts] => 1
    [asked] => 1
    [101,] => 1
    [&] => 1
    [art] => 1
    [ljungqvist,] => 1
    [stefan] => 1
    [down] => 1
    [sat] => 1
    [end,] => 1
    [about.] => 1
    [aura] => 1
    [crafting] => 1
    [work,] => 1
    [ps4,] => 1
    [pre-purchase] => 1
    [ive] => 1
    [date] => 1
    [gears] => 1
    [shortages,] => 1
    [ps5/sx] => 1
    [continued] => 1
    [live,] => 1
    [talks] => 1
    [gang] => 1
    [weeks] => 1
    [silence.] => 1
    [period] => 1
    [lowdown] => 1
    [gives] => 1
    [you?] => 1
    [cyber] => 1
    [okay] => 1
    [bit] => 1
    [gush] => 1
    [want] => 1
    [fg:] => 1
    [@] => 1
    [toby] => 1
    [interview.] => 1
    [through] => 1
    [shown] => 1
    [developers] => 1
    [interview] => 1
    [ign] => 1
    [5,] => 1
    [shadows,] => 1
    [class] => 1
    [interviews] => 1
    [mercenary] => 1
    [locks] => 1
    [bonus] => 1
    [pre-order] => 1
    [requirements] => 1
    [pc] => 1
    [official] => 1
    [revealed] => 1
    [delays.] => 1
    [happened] => 1
    [development] => 1
    [latest] => 1
    [catch] => 1
    [eurogamer] => 1
    [more!] => 1
    [tree.] => 1
    [saving] => 1
    [bosses] => 1
    [defeating] => 1
    [outposts] => 1
    [tribal] => 1
    [capturing] => 1
    [pillars,] => 1
    [design] => 1
    [main] => 1
    [three] => 1
    [explains] => 1
    [biomutant's] => 1
    [least] => 1
    [while.] => 1
    [backfiring] => 1
    [first] => 1
    [areas.] => 1
    [key] => 1
    [several] => 1
    [flat] => 1
    [falls] => 1
    [sadly] => 1
    [idea,] => 1
    [hugely] => 1
    [it."] => 1
    [realised] => 1
    [hasn't] => 1
    [attempt] => 1
    [101's] => 1
    [reading] => 1
    [here,] => 1
    [while] => 1
    [from.] => 1
    [work] => 1
    [basis] => 1
    [solid] => 1
    [built] => 1
    [where] => 1
    [part] => 1
    [skipped] => 1
    [much,] => 1
    [do] => 1
    [trying] => 1
    ["i'm] => 1
    [reviews] => 1
    [overwhelming] => 1
    [game."] => 1
    [title] => 1
    [accomplished.] => 1
    [team] => 1
    [person] => 1
    [twenty] => 1
    [much] => 1
    [impressed] => 1
    [am] => 1
    [road] => 1
    ["it] => 1
    [hawes:] => 1
    [jordan] => 1
    [wtmg's] => 1
    [play] => 1
    [playing] => 1
    [actually] => 1
    [didnt] => 1
    [reviewer] => 1
    [think] => 1
    [me] => 1
    [example,] => 1
    [review,] => 1
    [into.kotakus] => 1
    [hours] => 1
    [100] => 1
    [sank] => 1
    [different] => 1
    [completely] => 1
    [menus.] => 1
    [mechanics] => 1
    [broken,] => 1
    [media] => 1
    [times,] => 1
    [troubling] => 1
    [chill] => 1
    [itching] => 1
    [who] => 1
    ["for] => 1
    [writes,] => 1
    [gameffine] => 1
    [arka] => 1
    [fate.] => 1
    [seals] => 1
    [ultimately] => 1
    [boring,] => 1
    [sin] => 1
    [your] => 1
    [cardinal] => 1
    [commits] => 1
    [ideas,] => 1
    [interesting] => 1
    [despite] => 1
    [ooze.] => 1
    [stayed] => 1
    [shouldve] => 1
    [mutant] => 1
    [boring.] => 1
    [all,] => 1
    [above] => 1
    [shallow,] => 1
    [buying] => 1
    [expectations] => 1
    [other] => 1
    [square:] => 1
    [overload] => 1
    [thwarted] => 1
    [ideas] => 1
    [past,] => 1
    [generation] => 1
    [clutches] => 1
    [trapped] => 1
    [differently.] => 1
    [does] => 1
    [capitalise] => 1
    [project] => 1
    [special,] => 1
    [something] => 1
    [push] => 1
    [check."] => 1
    [inconsequence.] => 1
    [pieces] => 1
    [thousand] => 1
    [packed] => 1
    [that's] => 1
    [adventure] => 1
    [environmentally-minded] => 1
    [delivers] => 1
    [absolutely] => 1
    [year] => 1
    [four] => 1
    [says:] => 1
    [xba] => 1
    [heart.] => 1
)



View Statistics
This Week
126
This Month
937
This Year
0

No Items Found.

Add Comment
Type in a Nick Name here
 
Other Items in php
fixing error Call to undefined function simplexml_load_string get the content of a url get the content of a link with php and test if the result is empty php check if url is valid with filter_var php save csv from array to file php export csv from string to browser download convert json string to a php array how to json encode an array in php how to decode xml in php php get file and save it php function to remove the query string from a url using php parse_url function to remove the query string from a url add every value in the load_array array into the out for testing Fix for PHP Warning Trying to get property '*name*' of non-object write the contents of a url into a file with php sqlite fetchArray into another array php return json header and content list_all_array an early stages of list all function that uses an array to pass in main variables replace singular variable assignment with an array loop and variable variables using the $_SERVER['HTTP_REFERER'] to check referring pages timeline class and function php html template class system views list function for checking what views have been made on the current week load array load all items from an array while in a sqlite load sql loop create a 200 character summary from a longer html string using strlen to check the length of a string and do something about it How to record your own page views with PHP, and make them into weekly monthly and yearly charts load from fields array php class function get the current week as a number with php creating embedded php code from a database field test php bundle write check if a file exists with php check if the file is a directory or check if the directory exists in php get the current working directory in php create directory with php create folder with php check if a product already exists by its md5 load random videos module using template PHP/SQLite - Load Random Item split a string into links using the comma extract youtube image from video url simple php ip blocker preg replace clean a string only allow a-zA-Z0-9 characters get last month as a number with php verify the google recapture server php rtrim strip white space or strings from the end of a string get the current month as a number show the difference between two dates in years, months, days, hours and seconds counting the occurrence of words in a multidimensional array write string contents to a file with php unable to access the $_FILES when submitting a form php check column exists in table sqlite
Related Search Terms
Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

Join me on Substack if you want me to send you a collection of the things i have done or found or read for the week. Or follow me on twitter if you prefer, i dont post much but i probably should!

❤👩‍💻🕹

Random Quote
All of humanity's problems stem from man's inability to sit quietly in a room alone, wrote Blaise Pascal.
Unknown