Wordplay Demos

This Class contains lots of little functions for playing with words I made in my spare time, if you have any suggestions or improvements please make them. You can download or fork the code at Github

Example usage:

    require_once "wordplay.php";
    
$wordTest = new Wordplay();

    
echo $wordTest->randomCaps("The quick brown fox jumps over the lazy dog.");
    
// result: tHe qUick BRoWn Fox jumpS oveR THE lAzy dog.


Original Text

In what we may term 'prescientific days' people were in no uncertainty about the interpretation of dreams. When they were recalled after awakening they were regarded as either the friendly or hostile manifestation of some higher powers, demoniacal and Divine. With the rise of scientific thought the whole of this expressive mythology was transferred to psychology; to-day there is but a small minority among educated persons who doubt that the dream is the dreamer's own psychical act.


Random Caps

in What We may term 'pReScIentifIC dayS' PeoPle weRe IN No uNceRtainTy aBoUT ThE interprEtaTIon oF dReaMs. wHeN they wEre recAllED After awAKeNiNg thEY wEre regArdEd as eItHEr thE friendLy oR hOstIle manIfestatIoN Of SOME higher Powers, dEmOniACal aNd divine. wItH the riSE of ScIentific ThougHt the WhOle OF tHIS ExpreSsive mYthoLOgY WaS transfErrEd tO PsYCHOlogy; to-DAy THeRE Is buT a SmaLl mInoritY Among EDucated PERsons who doUbT ThaT the DreAm is The DrEaMER'S Own PSycHICaL act.


Alternating Caps

In wHaT We mAy tErM 'pReScIeNtIfIc dAyS' pEoPlE WeRe iN No uNcErTaInTy aBoUt tHe iNtErPrEtAtIoN Of dReAmS. wHeN ThEy wErE ReCaLlEd aFtEr aWaKeNiNg tHeY WeRe rEgArDeD As eItHeR ThE FrIeNdLy oR HoStIlE MaNiFeStAtIoN Of sOmE HiGhEr pOwErS, dEmOnIaCaL AnD DiViNe. WiTh tHe rIsE Of sCiEnTiFiC ThOuGhT ThE WhOlE Of tHiS ExPrEsSiVe mYtHoLoGy wAs tRaNsFeRrEd tO PsYcHoLoGy; To-dAy tHeRe iS BuT A SmAlL MiNoRiTy aMoNg eDuCaTeD PeRsOnS WhO DoUbT ThAt tHe dReAm iS ThE DrEaMeR'S OwN PsYcHiCaL AcT.


Shuffle Words Inner Letters

In what we may term 'ifciepsirtenc days' ppeole were in no utanncertiy auobt the iteerotitapnrn of drmaes. When tehy wree relcaled atefr aainknewg tehy were rreeadgd as etiehr the fdinerly or hsltoie msittfnaiaeon of smoe heighr pewors, dnaeoicmal and Dinive. With the rsie of siifitcenc thhgout the wlhoe of tihs eesxrsipve mtohlyogy was trfenrresad to plhoycogsy; to-day tehre is but a slaml mriotniy amnog ecaedtud peonrss who dbuot that the dearm is the dme'reras own pyichscal act.


Reverse Letters

nI tahw ew yam mret cifitneicserp' syad' elpoep erew ni on ytniatrecnu tuoba eht noitaterpretni fo smaerd. nehW yeht erew dellacer retfa gninekawa yeht erew dedrager sa rehtie eht yldneirf ro elitsoh noitatsefinam fo emos rehgih srewop, lacainomed dna eniviD. htiW eht esir fo cifitneics thguoht eht elohw fo siht evisserpxe ygolohtym saw derrefsnart ot ygolohcysp; yad-ot ereht si tub a llams ytironim gnoma detacude snosrep ohw tbuod taht eht maerd si eht s'remaerd nwo lacihcysp tca.


Sort Words Alphabetically

' ' ' a about act after among and as awakening but days demoniacal divine doubt dream dreamer dreams educated either expressive friendly higher hostile in in interpretation is is manifestation may minority mythology no of of of of or own people persons powers, prescientific psychical psychology; recalled regarded rise s scientific small some term that the the the the the the there they they this thought to to-day transferred uncertainty was we were were were what when who whole with.


Reverse Words

Dreams of interpretation the about uncertainty no in were people days' 'prescientific term may we what in. Divine and demoniacal powers, higher some of manifestation hostile or friendly the either as regarded were they awakening after recalled were they when. Act psychical own dreamer's the is dream the that doubt who persons educated among minority small a but is there to-day psychology; to transferred was mythology expressive this of whole the thought scientific of rise the with.


Reverse Words & Letters

Smaerd fo noitaterpretni eht tuoba ytniatrecnu on ni erew elpoep syad' cifitneicserp' mret yam ew tahw ni. Enivid dna lacainomed srewop, rehgih emos fo noitatsefinam elitsoh ro yldneirf eht rehtie sa dedrager erew yeht gninekawa retfa dellacer erew yeht nehw. Tca lacihcysp nwo s'remaerd eht si maerd eht taht tbuod ohw snosrep detacude gnoma ytironim llams a tub si ereht yad-ot ygolohcysp; ot derrefsnart saw ygolohtym evisserpxe siht fo elohw eht thguoht cifitneics fo esir eht htiw.


Shuffle Words

In of we may uncertainty were days' what term about the interpretation 'prescientific in no dreams people. Friendly either demoniacal as regarded they divine of some or powers, manifestation the awakening were hostile they after and recalled were when higher. Dream small thought persons minority with own the there a mythology dreamer's of among is transferred doubt that expressive psychology; is of to who psychical this whole to-day the the educated scientific was the rise but act.


Shuffle Sentences

In what we may term 'prescientific days' people were in no uncertainty about the interpretation of dreams. When they were recalled after awakening they were regarded as either the friendly or hostile manifestation of some higher powers, demoniacal and Divine. With the rise of scientific thought the whole of this expressive mythology was transferred to psychology; to-day there is but a small minority among educated persons who doubt that the dream is the dreamer's own psychical act.


Remove Vowels

n wht w my trm 'prscntfc dys' ppl wr n n ncrtnty bt th ntrprttn f drms. Whn thy wr rclld ftr wknng thy wr rgrdd s thr th frndly r hstl mnfsttn f sm hghr pwrs, dmncl nd Dvn. Wth th rs f scntfc thght th whl f ths xprssv mythlgy ws trnsfrrd t psychlgy; t-dy thr s bt smll mnrty mng dctd prsns wh dbt tht th drm s th drmr's wn psychcl ct.


Shift Vowels

en whut wa muy tarm 'prasceantefec duys' paipla wara en ni oncartuenty ubiot tha entarpratutein if draums. Whan thay wara racullad uftar uwukaneng thay wara ragurdad us aethar tha freandly ir histela munefastutein if sima heghar piwars, damineucul und Devena. Weth tha resa if sceantefec thioght tha whila if thes axprasseva mythiligy wus trunsfarrad ti psychiligy; ti-duy thara es bot u smull menirety uming adocutad parsins whi diobt thut tha draum es tha draumar's iwn psychecul uct.


Swap ! and ?

In what we may term 'prescientific days' people were in no uncertainty about the interpretation of dreams. When they were recalled after awakening they were regarded as either the friendly or hostile manifestation of some higher powers, demoniacal and Divine. With the rise of scientific thought the whole of this expressive mythology was transferred to psychology; to-day there is but a small minority among educated persons who doubt that the dream is the dreamer's own psychical act.


Creative Commons License
Wordplay by Jedidiah Broadbent is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.