024.phpt 198 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623
  1. --TEST--
  2. Looped regression test (may take a while)
  3. --FILE--
  4. <?php
  5. for ($jdk=0; $jdk<50; $jdk++) {
  6. ?><html>
  7. <head>
  8. <?php /* the point of this file is to intensively test various aspects of the parser.
  9. * right now, each test focuses in one aspect only (e.g. variable aliasing, arithmetic operator,
  10. * various control structures), while trying to combine code from other parts of the parser as well.
  11. */
  12. ?>
  13. *** Testing assignments and variable aliasing: ***
  14. <?php
  15. /* This test tests assignments to variables using other variables as variable-names */
  16. $a = "b";
  17. $$a = "test";
  18. $$$a = "blah";
  19. ${$$$a}["associative arrays work too"] = "this is nifty";
  20. ?>
  21. This should read "blah": <?php echo "$test\n"; ?>
  22. This should read "this is nifty": <?php echo $blah[$test="associative arrays work too"]."\n"; ?>
  23. *************************************************
  24. *** Testing integer operators ***
  25. <?php
  26. /* test just about any operator possible on $i and $j (ints) */
  27. $i = 5;
  28. $j = 3;
  29. ?>
  30. Correct result - 8: <?php echo $i+$j; ?>
  31. Correct result - 8: <?php echo $i+$j; ?>
  32. Correct result - 2: <?php echo $i-$j; ?>
  33. Correct result - -2: <?php echo $j-$i; ?>
  34. Correct result - 15: <?php echo $i*$j; ?>
  35. Correct result - 15: <?php echo $j*$i; ?>
  36. Correct result - 2: <?php echo $i%$j; ?>
  37. Correct result - 3: <?php echo $j%$i; ?>
  38. *********************************
  39. *** Testing real operators ***
  40. <?php
  41. /* test just about any operator possible on $i and $j (floats) */
  42. $i = 5.0;
  43. $j = 3.0;
  44. ?>
  45. Correct result - 8: <?php echo $i+$j; ?>
  46. Correct result - 8: <?php echo $i+$j; ?>
  47. Correct result - 2: <?php echo $i-$j; ?>
  48. Correct result - -2: <?php echo $j-$i; ?>
  49. Correct result - 15: <?php echo $i*$j; ?>
  50. Correct result - 15: <?php echo $j*$i; ?>
  51. Correct result - 2: <?php echo $i%$j; ?>
  52. Correct result - 3: <?php echo $j%$i; ?>
  53. *********************************
  54. *** Testing if/elseif/else control ***
  55. <?php
  56. /* sick if/elseif/else test by Andi :) */
  57. $a = 5;
  58. if ($a == "4") {
  59. echo "This "." does "." not "." work\n";
  60. } elseif ($a == "5") {
  61. echo "This "." works\n";
  62. $a = 6;
  63. if ("andi" == ($test = "andi")) {
  64. echo "this_still_works\n";
  65. } elseif (1) {
  66. echo "should_not_print\n";
  67. } else {
  68. echo "should_not_print\n";
  69. }
  70. if (44 == 43) {
  71. echo "should_not_print\n";
  72. } else {
  73. echo "should_print\n";
  74. }
  75. } elseif ($a == 6) {
  76. echo "this "."broken\n";
  77. if (0) {
  78. echo "this_should_not_print\n";
  79. } else {
  80. echo "TestingDanglingElse_This_Should_not_print\n";
  81. }
  82. } else {
  83. echo "This "."does "." not"." work\n";
  84. }
  85. ?>
  86. *** Seriously nested if's test ***
  87. ** spelling correction by kluzz **
  88. <?php
  89. /* yet another sick if/elseif/else test by Zeev */
  90. $i=$j=0;
  91. echo "Only two lines of text should follow:\n";
  92. if (0) { /* this code is not supposed to be executed */
  93. echo "hmm, this shouldn't be displayed #1\n";
  94. $j++;
  95. if (1) {
  96. $i += $j;
  97. if (0) {
  98. $j = ++$i;
  99. if (1) {
  100. $j *= $i;
  101. echo "damn, this shouldn't be displayed\n";
  102. } else {
  103. $j /= $i;
  104. ++$j;
  105. echo "this shouldn't be displayed either\n";
  106. }
  107. } elseif (1) {
  108. $i++; $j++;
  109. echo "this isn't supposed to be displayed\n";
  110. }
  111. } elseif (0) {
  112. $i++;
  113. echo "this definitely shouldn't be displayed\n";
  114. } else {
  115. --$j;
  116. echo "and this too shouldn't be displayed\n";
  117. while ($j>0) {
  118. $j--;
  119. }
  120. }
  121. } elseif (2-2) { /* as long as 2-2==0, this isn't supposed to be executed either */
  122. $i = ++$j;
  123. echo "hmm, this shouldn't be displayed #2\n";
  124. if (1) {
  125. $j = ++$i;
  126. if (0) {
  127. $j = $i*2+$j*($i++);
  128. if (1) {
  129. $i++;
  130. echo "damn, this shouldn't be displayed\n";
  131. } else {
  132. $j++;
  133. echo "this shouldn't be displayed either\n";
  134. }
  135. } else if (1) {
  136. ++$j;
  137. echo "this isn't supposed to be displayed\n";
  138. }
  139. } elseif (0) {
  140. $j++;
  141. echo "this definitely shouldn't be displayed\n";
  142. } else {
  143. $i++;
  144. echo "and this too shouldn't be displayed\n";
  145. }
  146. } else {
  147. $j=$i++; /* this should set $i to 1, but shouldn't change $j (it's assigned $i's previous values, zero) */
  148. echo "this should be displayed. should be: \$i=1, \$j=0. is: \$i=$i, \$j=$j\n";
  149. if (1) {
  150. $j += ++$i; /* ++$i --> $i==2, $j += 2 --> $j==2 */
  151. if (0) {
  152. $j += 40;
  153. if (1) {
  154. $i += 50;
  155. echo "damn, this shouldn't be displayed\n";
  156. } else {
  157. $j += 20;
  158. echo "this shouldn't be displayed either\n";
  159. }
  160. } else if (1) {
  161. $j *= $i; /* $j *= 2 --> $j == 4 */
  162. echo "this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=$i, \$j=$j\n";
  163. echo "3 loop iterations should follow:\n";
  164. while ($i<=$j) {
  165. echo $i++." $j\n";
  166. }
  167. }
  168. } elseif (0) {
  169. echo "this definitely shouldn't be displayed\n";
  170. } else {
  171. echo "and this too shouldn't be displayed\n";
  172. }
  173. echo "**********************************\n";
  174. }
  175. ?>
  176. *** C-style else-if's ***
  177. <?php
  178. /* looks like without we even tried, C-style else-if structure works fine! */
  179. if ($a=0) {
  180. echo "This shouldn't be displayed\n";
  181. } else if ($a++) {
  182. echo "This shouldn't be displayed either\n";
  183. } else if (--$a) {
  184. echo "No, this neither\n";
  185. } else if (++$a) {
  186. echo "This should be displayed\n";
  187. } else {
  188. echo "This shouldn't be displayed at all\n";
  189. }
  190. ?>
  191. *************************
  192. *** WHILE tests ***
  193. <?php
  194. $i=0;
  195. $j=20;
  196. while ($i<(2*$j)) {
  197. if ($i>$j) {
  198. echo "$i is greater than $j\n";
  199. } else if ($i==$j) {
  200. echo "$i equals $j\n";
  201. } else {
  202. echo "$i is smaller than $j\n";
  203. }
  204. $i++;
  205. }
  206. ?>
  207. *******************
  208. *** Nested WHILEs ***
  209. <?php
  210. $arr_len=3;
  211. $i=0;
  212. while ($i<$arr_len) {
  213. $j=0;
  214. while ($j<$arr_len) {
  215. $k=0;
  216. while ($k<$arr_len) {
  217. ${"test$i$j"}[$k] = $i+$j+$k;
  218. $k++;
  219. }
  220. $j++;
  221. }
  222. $i++;
  223. }
  224. echo "Each array variable should be equal to the sum of its indices:\n";
  225. $i=0;
  226. while ($i<$arr_len) {
  227. $j=0;
  228. while ($j<$arr_len) {
  229. $k=0;
  230. while ($k<$arr_len) {
  231. echo "\${test$i$j}[$k] = ".${"test$i$j"}[$k]."\n";
  232. $k++;
  233. }
  234. $j++;
  235. }
  236. $i++;
  237. }
  238. ?>
  239. *********************
  240. *** hash test... ***
  241. <?php
  242. /*
  243. $i=0;
  244. while ($i<10000) {
  245. $arr[$i]=$i;
  246. $i++;
  247. }
  248. $i=0;
  249. while ($i<10000) {
  250. echo $arr[$i++]."\n";
  251. }
  252. */
  253. echo "commented out...";
  254. ?>
  255. **************************
  256. *** Hash resizing test ***
  257. <?php
  258. $i = 10;
  259. $a = "b";
  260. while ($i > 0) {
  261. $a = $a . "a";
  262. echo "$a\n";
  263. $resize[$a] = $i;
  264. $i--;
  265. }
  266. $i = 10;
  267. $a = "b";
  268. while ($i > 0) {
  269. $a = $a . "a";
  270. echo "$a\n";
  271. echo $resize[$a]."\n";
  272. $i--;
  273. }
  274. ?>
  275. **************************
  276. *** break/continue test ***
  277. <?php
  278. $i=0;
  279. echo "\$i should go from 0 to 2\n";
  280. while ($i<5) {
  281. if ($i>2) {
  282. break;
  283. }
  284. $j=0;
  285. echo "\$j should go from 3 to 4, and \$q should go from 3 to 4\n";
  286. while ($j<5) {
  287. if ($j<=2) {
  288. $j++;
  289. continue;
  290. }
  291. echo " \$j=$j\n";
  292. for ($q=0; $q<=10; $q++) {
  293. if ($q<3) {
  294. continue;
  295. }
  296. if ($q>4) {
  297. break;
  298. }
  299. echo " \$q=$q\n";
  300. }
  301. $j++;
  302. }
  303. $j=0;
  304. echo "\$j should go from 0 to 2\n";
  305. while ($j<5) {
  306. if ($j>2) {
  307. $k=0;
  308. echo "\$k should go from 0 to 2\n";
  309. while ($k<5) {
  310. if ($k>2) {
  311. break 2;
  312. }
  313. echo " \$k=$k\n";
  314. $k++;
  315. }
  316. }
  317. echo " \$j=$j\n";
  318. $j++;
  319. }
  320. echo "\$i=$i\n";
  321. $i++;
  322. }
  323. ?>
  324. ***********************
  325. *** Nested file include test ***
  326. <?php include("023-2.inc"); ?>
  327. ********************************
  328. <?php
  329. {
  330. echo "Tests completed.\n"; # testing some PHP style comment...
  331. }
  332. } ?>
  333. --EXPECT--
  334. <html>
  335. <head>
  336. *** Testing assignments and variable aliasing: ***
  337. This should read "blah": blah
  338. This should read "this is nifty": this is nifty
  339. *************************************************
  340. *** Testing integer operators ***
  341. Correct result - 8: 8
  342. Correct result - 8: 8
  343. Correct result - 2: 2
  344. Correct result - -2: -2
  345. Correct result - 15: 15
  346. Correct result - 15: 15
  347. Correct result - 2: 2
  348. Correct result - 3: 3
  349. *********************************
  350. *** Testing real operators ***
  351. Correct result - 8: 8
  352. Correct result - 8: 8
  353. Correct result - 2: 2
  354. Correct result - -2: -2
  355. Correct result - 15: 15
  356. Correct result - 15: 15
  357. Correct result - 2: 2
  358. Correct result - 3: 3
  359. *********************************
  360. *** Testing if/elseif/else control ***
  361. This works
  362. this_still_works
  363. should_print
  364. *** Seriously nested if's test ***
  365. ** spelling correction by kluzz **
  366. Only two lines of text should follow:
  367. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  368. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  369. 3 loop iterations should follow:
  370. 2 4
  371. 3 4
  372. 4 4
  373. **********************************
  374. *** C-style else-if's ***
  375. This should be displayed
  376. *************************
  377. *** WHILE tests ***
  378. 0 is smaller than 20
  379. 1 is smaller than 20
  380. 2 is smaller than 20
  381. 3 is smaller than 20
  382. 4 is smaller than 20
  383. 5 is smaller than 20
  384. 6 is smaller than 20
  385. 7 is smaller than 20
  386. 8 is smaller than 20
  387. 9 is smaller than 20
  388. 10 is smaller than 20
  389. 11 is smaller than 20
  390. 12 is smaller than 20
  391. 13 is smaller than 20
  392. 14 is smaller than 20
  393. 15 is smaller than 20
  394. 16 is smaller than 20
  395. 17 is smaller than 20
  396. 18 is smaller than 20
  397. 19 is smaller than 20
  398. 20 equals 20
  399. 21 is greater than 20
  400. 22 is greater than 20
  401. 23 is greater than 20
  402. 24 is greater than 20
  403. 25 is greater than 20
  404. 26 is greater than 20
  405. 27 is greater than 20
  406. 28 is greater than 20
  407. 29 is greater than 20
  408. 30 is greater than 20
  409. 31 is greater than 20
  410. 32 is greater than 20
  411. 33 is greater than 20
  412. 34 is greater than 20
  413. 35 is greater than 20
  414. 36 is greater than 20
  415. 37 is greater than 20
  416. 38 is greater than 20
  417. 39 is greater than 20
  418. *******************
  419. *** Nested WHILEs ***
  420. Each array variable should be equal to the sum of its indices:
  421. ${test00}[0] = 0
  422. ${test00}[1] = 1
  423. ${test00}[2] = 2
  424. ${test01}[0] = 1
  425. ${test01}[1] = 2
  426. ${test01}[2] = 3
  427. ${test02}[0] = 2
  428. ${test02}[1] = 3
  429. ${test02}[2] = 4
  430. ${test10}[0] = 1
  431. ${test10}[1] = 2
  432. ${test10}[2] = 3
  433. ${test11}[0] = 2
  434. ${test11}[1] = 3
  435. ${test11}[2] = 4
  436. ${test12}[0] = 3
  437. ${test12}[1] = 4
  438. ${test12}[2] = 5
  439. ${test20}[0] = 2
  440. ${test20}[1] = 3
  441. ${test20}[2] = 4
  442. ${test21}[0] = 3
  443. ${test21}[1] = 4
  444. ${test21}[2] = 5
  445. ${test22}[0] = 4
  446. ${test22}[1] = 5
  447. ${test22}[2] = 6
  448. *********************
  449. *** hash test... ***
  450. commented out...
  451. **************************
  452. *** Hash resizing test ***
  453. ba
  454. baa
  455. baaa
  456. baaaa
  457. baaaaa
  458. baaaaaa
  459. baaaaaaa
  460. baaaaaaaa
  461. baaaaaaaaa
  462. baaaaaaaaaa
  463. ba
  464. 10
  465. baa
  466. 9
  467. baaa
  468. 8
  469. baaaa
  470. 7
  471. baaaaa
  472. 6
  473. baaaaaa
  474. 5
  475. baaaaaaa
  476. 4
  477. baaaaaaaa
  478. 3
  479. baaaaaaaaa
  480. 2
  481. baaaaaaaaaa
  482. 1
  483. **************************
  484. *** break/continue test ***
  485. $i should go from 0 to 2
  486. $j should go from 3 to 4, and $q should go from 3 to 4
  487. $j=3
  488. $q=3
  489. $q=4
  490. $j=4
  491. $q=3
  492. $q=4
  493. $j should go from 0 to 2
  494. $j=0
  495. $j=1
  496. $j=2
  497. $k should go from 0 to 2
  498. $k=0
  499. $k=1
  500. $k=2
  501. $i=0
  502. $j should go from 3 to 4, and $q should go from 3 to 4
  503. $j=3
  504. $q=3
  505. $q=4
  506. $j=4
  507. $q=3
  508. $q=4
  509. $j should go from 0 to 2
  510. $j=0
  511. $j=1
  512. $j=2
  513. $k should go from 0 to 2
  514. $k=0
  515. $k=1
  516. $k=2
  517. $i=1
  518. $j should go from 3 to 4, and $q should go from 3 to 4
  519. $j=3
  520. $q=3
  521. $q=4
  522. $j=4
  523. $q=3
  524. $q=4
  525. $j should go from 0 to 2
  526. $j=0
  527. $j=1
  528. $j=2
  529. $k should go from 0 to 2
  530. $k=0
  531. $k=1
  532. $k=2
  533. $i=2
  534. ***********************
  535. *** Nested file include test ***
  536. <html>
  537. This is Finish.phtml. This file is supposed to be included
  538. from regression_test.phtml. This is normal HTML.
  539. and this is PHP code, 2+2=4
  540. </html>
  541. ********************************
  542. Tests completed.
  543. <html>
  544. <head>
  545. *** Testing assignments and variable aliasing: ***
  546. This should read "blah": blah
  547. This should read "this is nifty": this is nifty
  548. *************************************************
  549. *** Testing integer operators ***
  550. Correct result - 8: 8
  551. Correct result - 8: 8
  552. Correct result - 2: 2
  553. Correct result - -2: -2
  554. Correct result - 15: 15
  555. Correct result - 15: 15
  556. Correct result - 2: 2
  557. Correct result - 3: 3
  558. *********************************
  559. *** Testing real operators ***
  560. Correct result - 8: 8
  561. Correct result - 8: 8
  562. Correct result - 2: 2
  563. Correct result - -2: -2
  564. Correct result - 15: 15
  565. Correct result - 15: 15
  566. Correct result - 2: 2
  567. Correct result - 3: 3
  568. *********************************
  569. *** Testing if/elseif/else control ***
  570. This works
  571. this_still_works
  572. should_print
  573. *** Seriously nested if's test ***
  574. ** spelling correction by kluzz **
  575. Only two lines of text should follow:
  576. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  577. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  578. 3 loop iterations should follow:
  579. 2 4
  580. 3 4
  581. 4 4
  582. **********************************
  583. *** C-style else-if's ***
  584. This should be displayed
  585. *************************
  586. *** WHILE tests ***
  587. 0 is smaller than 20
  588. 1 is smaller than 20
  589. 2 is smaller than 20
  590. 3 is smaller than 20
  591. 4 is smaller than 20
  592. 5 is smaller than 20
  593. 6 is smaller than 20
  594. 7 is smaller than 20
  595. 8 is smaller than 20
  596. 9 is smaller than 20
  597. 10 is smaller than 20
  598. 11 is smaller than 20
  599. 12 is smaller than 20
  600. 13 is smaller than 20
  601. 14 is smaller than 20
  602. 15 is smaller than 20
  603. 16 is smaller than 20
  604. 17 is smaller than 20
  605. 18 is smaller than 20
  606. 19 is smaller than 20
  607. 20 equals 20
  608. 21 is greater than 20
  609. 22 is greater than 20
  610. 23 is greater than 20
  611. 24 is greater than 20
  612. 25 is greater than 20
  613. 26 is greater than 20
  614. 27 is greater than 20
  615. 28 is greater than 20
  616. 29 is greater than 20
  617. 30 is greater than 20
  618. 31 is greater than 20
  619. 32 is greater than 20
  620. 33 is greater than 20
  621. 34 is greater than 20
  622. 35 is greater than 20
  623. 36 is greater than 20
  624. 37 is greater than 20
  625. 38 is greater than 20
  626. 39 is greater than 20
  627. *******************
  628. *** Nested WHILEs ***
  629. Each array variable should be equal to the sum of its indices:
  630. ${test00}[0] = 0
  631. ${test00}[1] = 1
  632. ${test00}[2] = 2
  633. ${test01}[0] = 1
  634. ${test01}[1] = 2
  635. ${test01}[2] = 3
  636. ${test02}[0] = 2
  637. ${test02}[1] = 3
  638. ${test02}[2] = 4
  639. ${test10}[0] = 1
  640. ${test10}[1] = 2
  641. ${test10}[2] = 3
  642. ${test11}[0] = 2
  643. ${test11}[1] = 3
  644. ${test11}[2] = 4
  645. ${test12}[0] = 3
  646. ${test12}[1] = 4
  647. ${test12}[2] = 5
  648. ${test20}[0] = 2
  649. ${test20}[1] = 3
  650. ${test20}[2] = 4
  651. ${test21}[0] = 3
  652. ${test21}[1] = 4
  653. ${test21}[2] = 5
  654. ${test22}[0] = 4
  655. ${test22}[1] = 5
  656. ${test22}[2] = 6
  657. *********************
  658. *** hash test... ***
  659. commented out...
  660. **************************
  661. *** Hash resizing test ***
  662. ba
  663. baa
  664. baaa
  665. baaaa
  666. baaaaa
  667. baaaaaa
  668. baaaaaaa
  669. baaaaaaaa
  670. baaaaaaaaa
  671. baaaaaaaaaa
  672. ba
  673. 10
  674. baa
  675. 9
  676. baaa
  677. 8
  678. baaaa
  679. 7
  680. baaaaa
  681. 6
  682. baaaaaa
  683. 5
  684. baaaaaaa
  685. 4
  686. baaaaaaaa
  687. 3
  688. baaaaaaaaa
  689. 2
  690. baaaaaaaaaa
  691. 1
  692. **************************
  693. *** break/continue test ***
  694. $i should go from 0 to 2
  695. $j should go from 3 to 4, and $q should go from 3 to 4
  696. $j=3
  697. $q=3
  698. $q=4
  699. $j=4
  700. $q=3
  701. $q=4
  702. $j should go from 0 to 2
  703. $j=0
  704. $j=1
  705. $j=2
  706. $k should go from 0 to 2
  707. $k=0
  708. $k=1
  709. $k=2
  710. $i=0
  711. $j should go from 3 to 4, and $q should go from 3 to 4
  712. $j=3
  713. $q=3
  714. $q=4
  715. $j=4
  716. $q=3
  717. $q=4
  718. $j should go from 0 to 2
  719. $j=0
  720. $j=1
  721. $j=2
  722. $k should go from 0 to 2
  723. $k=0
  724. $k=1
  725. $k=2
  726. $i=1
  727. $j should go from 3 to 4, and $q should go from 3 to 4
  728. $j=3
  729. $q=3
  730. $q=4
  731. $j=4
  732. $q=3
  733. $q=4
  734. $j should go from 0 to 2
  735. $j=0
  736. $j=1
  737. $j=2
  738. $k should go from 0 to 2
  739. $k=0
  740. $k=1
  741. $k=2
  742. $i=2
  743. ***********************
  744. *** Nested file include test ***
  745. <html>
  746. This is Finish.phtml. This file is supposed to be included
  747. from regression_test.phtml. This is normal HTML.
  748. and this is PHP code, 2+2=4
  749. </html>
  750. ********************************
  751. Tests completed.
  752. <html>
  753. <head>
  754. *** Testing assignments and variable aliasing: ***
  755. This should read "blah": blah
  756. This should read "this is nifty": this is nifty
  757. *************************************************
  758. *** Testing integer operators ***
  759. Correct result - 8: 8
  760. Correct result - 8: 8
  761. Correct result - 2: 2
  762. Correct result - -2: -2
  763. Correct result - 15: 15
  764. Correct result - 15: 15
  765. Correct result - 2: 2
  766. Correct result - 3: 3
  767. *********************************
  768. *** Testing real operators ***
  769. Correct result - 8: 8
  770. Correct result - 8: 8
  771. Correct result - 2: 2
  772. Correct result - -2: -2
  773. Correct result - 15: 15
  774. Correct result - 15: 15
  775. Correct result - 2: 2
  776. Correct result - 3: 3
  777. *********************************
  778. *** Testing if/elseif/else control ***
  779. This works
  780. this_still_works
  781. should_print
  782. *** Seriously nested if's test ***
  783. ** spelling correction by kluzz **
  784. Only two lines of text should follow:
  785. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  786. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  787. 3 loop iterations should follow:
  788. 2 4
  789. 3 4
  790. 4 4
  791. **********************************
  792. *** C-style else-if's ***
  793. This should be displayed
  794. *************************
  795. *** WHILE tests ***
  796. 0 is smaller than 20
  797. 1 is smaller than 20
  798. 2 is smaller than 20
  799. 3 is smaller than 20
  800. 4 is smaller than 20
  801. 5 is smaller than 20
  802. 6 is smaller than 20
  803. 7 is smaller than 20
  804. 8 is smaller than 20
  805. 9 is smaller than 20
  806. 10 is smaller than 20
  807. 11 is smaller than 20
  808. 12 is smaller than 20
  809. 13 is smaller than 20
  810. 14 is smaller than 20
  811. 15 is smaller than 20
  812. 16 is smaller than 20
  813. 17 is smaller than 20
  814. 18 is smaller than 20
  815. 19 is smaller than 20
  816. 20 equals 20
  817. 21 is greater than 20
  818. 22 is greater than 20
  819. 23 is greater than 20
  820. 24 is greater than 20
  821. 25 is greater than 20
  822. 26 is greater than 20
  823. 27 is greater than 20
  824. 28 is greater than 20
  825. 29 is greater than 20
  826. 30 is greater than 20
  827. 31 is greater than 20
  828. 32 is greater than 20
  829. 33 is greater than 20
  830. 34 is greater than 20
  831. 35 is greater than 20
  832. 36 is greater than 20
  833. 37 is greater than 20
  834. 38 is greater than 20
  835. 39 is greater than 20
  836. *******************
  837. *** Nested WHILEs ***
  838. Each array variable should be equal to the sum of its indices:
  839. ${test00}[0] = 0
  840. ${test00}[1] = 1
  841. ${test00}[2] = 2
  842. ${test01}[0] = 1
  843. ${test01}[1] = 2
  844. ${test01}[2] = 3
  845. ${test02}[0] = 2
  846. ${test02}[1] = 3
  847. ${test02}[2] = 4
  848. ${test10}[0] = 1
  849. ${test10}[1] = 2
  850. ${test10}[2] = 3
  851. ${test11}[0] = 2
  852. ${test11}[1] = 3
  853. ${test11}[2] = 4
  854. ${test12}[0] = 3
  855. ${test12}[1] = 4
  856. ${test12}[2] = 5
  857. ${test20}[0] = 2
  858. ${test20}[1] = 3
  859. ${test20}[2] = 4
  860. ${test21}[0] = 3
  861. ${test21}[1] = 4
  862. ${test21}[2] = 5
  863. ${test22}[0] = 4
  864. ${test22}[1] = 5
  865. ${test22}[2] = 6
  866. *********************
  867. *** hash test... ***
  868. commented out...
  869. **************************
  870. *** Hash resizing test ***
  871. ba
  872. baa
  873. baaa
  874. baaaa
  875. baaaaa
  876. baaaaaa
  877. baaaaaaa
  878. baaaaaaaa
  879. baaaaaaaaa
  880. baaaaaaaaaa
  881. ba
  882. 10
  883. baa
  884. 9
  885. baaa
  886. 8
  887. baaaa
  888. 7
  889. baaaaa
  890. 6
  891. baaaaaa
  892. 5
  893. baaaaaaa
  894. 4
  895. baaaaaaaa
  896. 3
  897. baaaaaaaaa
  898. 2
  899. baaaaaaaaaa
  900. 1
  901. **************************
  902. *** break/continue test ***
  903. $i should go from 0 to 2
  904. $j should go from 3 to 4, and $q should go from 3 to 4
  905. $j=3
  906. $q=3
  907. $q=4
  908. $j=4
  909. $q=3
  910. $q=4
  911. $j should go from 0 to 2
  912. $j=0
  913. $j=1
  914. $j=2
  915. $k should go from 0 to 2
  916. $k=0
  917. $k=1
  918. $k=2
  919. $i=0
  920. $j should go from 3 to 4, and $q should go from 3 to 4
  921. $j=3
  922. $q=3
  923. $q=4
  924. $j=4
  925. $q=3
  926. $q=4
  927. $j should go from 0 to 2
  928. $j=0
  929. $j=1
  930. $j=2
  931. $k should go from 0 to 2
  932. $k=0
  933. $k=1
  934. $k=2
  935. $i=1
  936. $j should go from 3 to 4, and $q should go from 3 to 4
  937. $j=3
  938. $q=3
  939. $q=4
  940. $j=4
  941. $q=3
  942. $q=4
  943. $j should go from 0 to 2
  944. $j=0
  945. $j=1
  946. $j=2
  947. $k should go from 0 to 2
  948. $k=0
  949. $k=1
  950. $k=2
  951. $i=2
  952. ***********************
  953. *** Nested file include test ***
  954. <html>
  955. This is Finish.phtml. This file is supposed to be included
  956. from regression_test.phtml. This is normal HTML.
  957. and this is PHP code, 2+2=4
  958. </html>
  959. ********************************
  960. Tests completed.
  961. <html>
  962. <head>
  963. *** Testing assignments and variable aliasing: ***
  964. This should read "blah": blah
  965. This should read "this is nifty": this is nifty
  966. *************************************************
  967. *** Testing integer operators ***
  968. Correct result - 8: 8
  969. Correct result - 8: 8
  970. Correct result - 2: 2
  971. Correct result - -2: -2
  972. Correct result - 15: 15
  973. Correct result - 15: 15
  974. Correct result - 2: 2
  975. Correct result - 3: 3
  976. *********************************
  977. *** Testing real operators ***
  978. Correct result - 8: 8
  979. Correct result - 8: 8
  980. Correct result - 2: 2
  981. Correct result - -2: -2
  982. Correct result - 15: 15
  983. Correct result - 15: 15
  984. Correct result - 2: 2
  985. Correct result - 3: 3
  986. *********************************
  987. *** Testing if/elseif/else control ***
  988. This works
  989. this_still_works
  990. should_print
  991. *** Seriously nested if's test ***
  992. ** spelling correction by kluzz **
  993. Only two lines of text should follow:
  994. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  995. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  996. 3 loop iterations should follow:
  997. 2 4
  998. 3 4
  999. 4 4
  1000. **********************************
  1001. *** C-style else-if's ***
  1002. This should be displayed
  1003. *************************
  1004. *** WHILE tests ***
  1005. 0 is smaller than 20
  1006. 1 is smaller than 20
  1007. 2 is smaller than 20
  1008. 3 is smaller than 20
  1009. 4 is smaller than 20
  1010. 5 is smaller than 20
  1011. 6 is smaller than 20
  1012. 7 is smaller than 20
  1013. 8 is smaller than 20
  1014. 9 is smaller than 20
  1015. 10 is smaller than 20
  1016. 11 is smaller than 20
  1017. 12 is smaller than 20
  1018. 13 is smaller than 20
  1019. 14 is smaller than 20
  1020. 15 is smaller than 20
  1021. 16 is smaller than 20
  1022. 17 is smaller than 20
  1023. 18 is smaller than 20
  1024. 19 is smaller than 20
  1025. 20 equals 20
  1026. 21 is greater than 20
  1027. 22 is greater than 20
  1028. 23 is greater than 20
  1029. 24 is greater than 20
  1030. 25 is greater than 20
  1031. 26 is greater than 20
  1032. 27 is greater than 20
  1033. 28 is greater than 20
  1034. 29 is greater than 20
  1035. 30 is greater than 20
  1036. 31 is greater than 20
  1037. 32 is greater than 20
  1038. 33 is greater than 20
  1039. 34 is greater than 20
  1040. 35 is greater than 20
  1041. 36 is greater than 20
  1042. 37 is greater than 20
  1043. 38 is greater than 20
  1044. 39 is greater than 20
  1045. *******************
  1046. *** Nested WHILEs ***
  1047. Each array variable should be equal to the sum of its indices:
  1048. ${test00}[0] = 0
  1049. ${test00}[1] = 1
  1050. ${test00}[2] = 2
  1051. ${test01}[0] = 1
  1052. ${test01}[1] = 2
  1053. ${test01}[2] = 3
  1054. ${test02}[0] = 2
  1055. ${test02}[1] = 3
  1056. ${test02}[2] = 4
  1057. ${test10}[0] = 1
  1058. ${test10}[1] = 2
  1059. ${test10}[2] = 3
  1060. ${test11}[0] = 2
  1061. ${test11}[1] = 3
  1062. ${test11}[2] = 4
  1063. ${test12}[0] = 3
  1064. ${test12}[1] = 4
  1065. ${test12}[2] = 5
  1066. ${test20}[0] = 2
  1067. ${test20}[1] = 3
  1068. ${test20}[2] = 4
  1069. ${test21}[0] = 3
  1070. ${test21}[1] = 4
  1071. ${test21}[2] = 5
  1072. ${test22}[0] = 4
  1073. ${test22}[1] = 5
  1074. ${test22}[2] = 6
  1075. *********************
  1076. *** hash test... ***
  1077. commented out...
  1078. **************************
  1079. *** Hash resizing test ***
  1080. ba
  1081. baa
  1082. baaa
  1083. baaaa
  1084. baaaaa
  1085. baaaaaa
  1086. baaaaaaa
  1087. baaaaaaaa
  1088. baaaaaaaaa
  1089. baaaaaaaaaa
  1090. ba
  1091. 10
  1092. baa
  1093. 9
  1094. baaa
  1095. 8
  1096. baaaa
  1097. 7
  1098. baaaaa
  1099. 6
  1100. baaaaaa
  1101. 5
  1102. baaaaaaa
  1103. 4
  1104. baaaaaaaa
  1105. 3
  1106. baaaaaaaaa
  1107. 2
  1108. baaaaaaaaaa
  1109. 1
  1110. **************************
  1111. *** break/continue test ***
  1112. $i should go from 0 to 2
  1113. $j should go from 3 to 4, and $q should go from 3 to 4
  1114. $j=3
  1115. $q=3
  1116. $q=4
  1117. $j=4
  1118. $q=3
  1119. $q=4
  1120. $j should go from 0 to 2
  1121. $j=0
  1122. $j=1
  1123. $j=2
  1124. $k should go from 0 to 2
  1125. $k=0
  1126. $k=1
  1127. $k=2
  1128. $i=0
  1129. $j should go from 3 to 4, and $q should go from 3 to 4
  1130. $j=3
  1131. $q=3
  1132. $q=4
  1133. $j=4
  1134. $q=3
  1135. $q=4
  1136. $j should go from 0 to 2
  1137. $j=0
  1138. $j=1
  1139. $j=2
  1140. $k should go from 0 to 2
  1141. $k=0
  1142. $k=1
  1143. $k=2
  1144. $i=1
  1145. $j should go from 3 to 4, and $q should go from 3 to 4
  1146. $j=3
  1147. $q=3
  1148. $q=4
  1149. $j=4
  1150. $q=3
  1151. $q=4
  1152. $j should go from 0 to 2
  1153. $j=0
  1154. $j=1
  1155. $j=2
  1156. $k should go from 0 to 2
  1157. $k=0
  1158. $k=1
  1159. $k=2
  1160. $i=2
  1161. ***********************
  1162. *** Nested file include test ***
  1163. <html>
  1164. This is Finish.phtml. This file is supposed to be included
  1165. from regression_test.phtml. This is normal HTML.
  1166. and this is PHP code, 2+2=4
  1167. </html>
  1168. ********************************
  1169. Tests completed.
  1170. <html>
  1171. <head>
  1172. *** Testing assignments and variable aliasing: ***
  1173. This should read "blah": blah
  1174. This should read "this is nifty": this is nifty
  1175. *************************************************
  1176. *** Testing integer operators ***
  1177. Correct result - 8: 8
  1178. Correct result - 8: 8
  1179. Correct result - 2: 2
  1180. Correct result - -2: -2
  1181. Correct result - 15: 15
  1182. Correct result - 15: 15
  1183. Correct result - 2: 2
  1184. Correct result - 3: 3
  1185. *********************************
  1186. *** Testing real operators ***
  1187. Correct result - 8: 8
  1188. Correct result - 8: 8
  1189. Correct result - 2: 2
  1190. Correct result - -2: -2
  1191. Correct result - 15: 15
  1192. Correct result - 15: 15
  1193. Correct result - 2: 2
  1194. Correct result - 3: 3
  1195. *********************************
  1196. *** Testing if/elseif/else control ***
  1197. This works
  1198. this_still_works
  1199. should_print
  1200. *** Seriously nested if's test ***
  1201. ** spelling correction by kluzz **
  1202. Only two lines of text should follow:
  1203. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  1204. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  1205. 3 loop iterations should follow:
  1206. 2 4
  1207. 3 4
  1208. 4 4
  1209. **********************************
  1210. *** C-style else-if's ***
  1211. This should be displayed
  1212. *************************
  1213. *** WHILE tests ***
  1214. 0 is smaller than 20
  1215. 1 is smaller than 20
  1216. 2 is smaller than 20
  1217. 3 is smaller than 20
  1218. 4 is smaller than 20
  1219. 5 is smaller than 20
  1220. 6 is smaller than 20
  1221. 7 is smaller than 20
  1222. 8 is smaller than 20
  1223. 9 is smaller than 20
  1224. 10 is smaller than 20
  1225. 11 is smaller than 20
  1226. 12 is smaller than 20
  1227. 13 is smaller than 20
  1228. 14 is smaller than 20
  1229. 15 is smaller than 20
  1230. 16 is smaller than 20
  1231. 17 is smaller than 20
  1232. 18 is smaller than 20
  1233. 19 is smaller than 20
  1234. 20 equals 20
  1235. 21 is greater than 20
  1236. 22 is greater than 20
  1237. 23 is greater than 20
  1238. 24 is greater than 20
  1239. 25 is greater than 20
  1240. 26 is greater than 20
  1241. 27 is greater than 20
  1242. 28 is greater than 20
  1243. 29 is greater than 20
  1244. 30 is greater than 20
  1245. 31 is greater than 20
  1246. 32 is greater than 20
  1247. 33 is greater than 20
  1248. 34 is greater than 20
  1249. 35 is greater than 20
  1250. 36 is greater than 20
  1251. 37 is greater than 20
  1252. 38 is greater than 20
  1253. 39 is greater than 20
  1254. *******************
  1255. *** Nested WHILEs ***
  1256. Each array variable should be equal to the sum of its indices:
  1257. ${test00}[0] = 0
  1258. ${test00}[1] = 1
  1259. ${test00}[2] = 2
  1260. ${test01}[0] = 1
  1261. ${test01}[1] = 2
  1262. ${test01}[2] = 3
  1263. ${test02}[0] = 2
  1264. ${test02}[1] = 3
  1265. ${test02}[2] = 4
  1266. ${test10}[0] = 1
  1267. ${test10}[1] = 2
  1268. ${test10}[2] = 3
  1269. ${test11}[0] = 2
  1270. ${test11}[1] = 3
  1271. ${test11}[2] = 4
  1272. ${test12}[0] = 3
  1273. ${test12}[1] = 4
  1274. ${test12}[2] = 5
  1275. ${test20}[0] = 2
  1276. ${test20}[1] = 3
  1277. ${test20}[2] = 4
  1278. ${test21}[0] = 3
  1279. ${test21}[1] = 4
  1280. ${test21}[2] = 5
  1281. ${test22}[0] = 4
  1282. ${test22}[1] = 5
  1283. ${test22}[2] = 6
  1284. *********************
  1285. *** hash test... ***
  1286. commented out...
  1287. **************************
  1288. *** Hash resizing test ***
  1289. ba
  1290. baa
  1291. baaa
  1292. baaaa
  1293. baaaaa
  1294. baaaaaa
  1295. baaaaaaa
  1296. baaaaaaaa
  1297. baaaaaaaaa
  1298. baaaaaaaaaa
  1299. ba
  1300. 10
  1301. baa
  1302. 9
  1303. baaa
  1304. 8
  1305. baaaa
  1306. 7
  1307. baaaaa
  1308. 6
  1309. baaaaaa
  1310. 5
  1311. baaaaaaa
  1312. 4
  1313. baaaaaaaa
  1314. 3
  1315. baaaaaaaaa
  1316. 2
  1317. baaaaaaaaaa
  1318. 1
  1319. **************************
  1320. *** break/continue test ***
  1321. $i should go from 0 to 2
  1322. $j should go from 3 to 4, and $q should go from 3 to 4
  1323. $j=3
  1324. $q=3
  1325. $q=4
  1326. $j=4
  1327. $q=3
  1328. $q=4
  1329. $j should go from 0 to 2
  1330. $j=0
  1331. $j=1
  1332. $j=2
  1333. $k should go from 0 to 2
  1334. $k=0
  1335. $k=1
  1336. $k=2
  1337. $i=0
  1338. $j should go from 3 to 4, and $q should go from 3 to 4
  1339. $j=3
  1340. $q=3
  1341. $q=4
  1342. $j=4
  1343. $q=3
  1344. $q=4
  1345. $j should go from 0 to 2
  1346. $j=0
  1347. $j=1
  1348. $j=2
  1349. $k should go from 0 to 2
  1350. $k=0
  1351. $k=1
  1352. $k=2
  1353. $i=1
  1354. $j should go from 3 to 4, and $q should go from 3 to 4
  1355. $j=3
  1356. $q=3
  1357. $q=4
  1358. $j=4
  1359. $q=3
  1360. $q=4
  1361. $j should go from 0 to 2
  1362. $j=0
  1363. $j=1
  1364. $j=2
  1365. $k should go from 0 to 2
  1366. $k=0
  1367. $k=1
  1368. $k=2
  1369. $i=2
  1370. ***********************
  1371. *** Nested file include test ***
  1372. <html>
  1373. This is Finish.phtml. This file is supposed to be included
  1374. from regression_test.phtml. This is normal HTML.
  1375. and this is PHP code, 2+2=4
  1376. </html>
  1377. ********************************
  1378. Tests completed.
  1379. <html>
  1380. <head>
  1381. *** Testing assignments and variable aliasing: ***
  1382. This should read "blah": blah
  1383. This should read "this is nifty": this is nifty
  1384. *************************************************
  1385. *** Testing integer operators ***
  1386. Correct result - 8: 8
  1387. Correct result - 8: 8
  1388. Correct result - 2: 2
  1389. Correct result - -2: -2
  1390. Correct result - 15: 15
  1391. Correct result - 15: 15
  1392. Correct result - 2: 2
  1393. Correct result - 3: 3
  1394. *********************************
  1395. *** Testing real operators ***
  1396. Correct result - 8: 8
  1397. Correct result - 8: 8
  1398. Correct result - 2: 2
  1399. Correct result - -2: -2
  1400. Correct result - 15: 15
  1401. Correct result - 15: 15
  1402. Correct result - 2: 2
  1403. Correct result - 3: 3
  1404. *********************************
  1405. *** Testing if/elseif/else control ***
  1406. This works
  1407. this_still_works
  1408. should_print
  1409. *** Seriously nested if's test ***
  1410. ** spelling correction by kluzz **
  1411. Only two lines of text should follow:
  1412. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  1413. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  1414. 3 loop iterations should follow:
  1415. 2 4
  1416. 3 4
  1417. 4 4
  1418. **********************************
  1419. *** C-style else-if's ***
  1420. This should be displayed
  1421. *************************
  1422. *** WHILE tests ***
  1423. 0 is smaller than 20
  1424. 1 is smaller than 20
  1425. 2 is smaller than 20
  1426. 3 is smaller than 20
  1427. 4 is smaller than 20
  1428. 5 is smaller than 20
  1429. 6 is smaller than 20
  1430. 7 is smaller than 20
  1431. 8 is smaller than 20
  1432. 9 is smaller than 20
  1433. 10 is smaller than 20
  1434. 11 is smaller than 20
  1435. 12 is smaller than 20
  1436. 13 is smaller than 20
  1437. 14 is smaller than 20
  1438. 15 is smaller than 20
  1439. 16 is smaller than 20
  1440. 17 is smaller than 20
  1441. 18 is smaller than 20
  1442. 19 is smaller than 20
  1443. 20 equals 20
  1444. 21 is greater than 20
  1445. 22 is greater than 20
  1446. 23 is greater than 20
  1447. 24 is greater than 20
  1448. 25 is greater than 20
  1449. 26 is greater than 20
  1450. 27 is greater than 20
  1451. 28 is greater than 20
  1452. 29 is greater than 20
  1453. 30 is greater than 20
  1454. 31 is greater than 20
  1455. 32 is greater than 20
  1456. 33 is greater than 20
  1457. 34 is greater than 20
  1458. 35 is greater than 20
  1459. 36 is greater than 20
  1460. 37 is greater than 20
  1461. 38 is greater than 20
  1462. 39 is greater than 20
  1463. *******************
  1464. *** Nested WHILEs ***
  1465. Each array variable should be equal to the sum of its indices:
  1466. ${test00}[0] = 0
  1467. ${test00}[1] = 1
  1468. ${test00}[2] = 2
  1469. ${test01}[0] = 1
  1470. ${test01}[1] = 2
  1471. ${test01}[2] = 3
  1472. ${test02}[0] = 2
  1473. ${test02}[1] = 3
  1474. ${test02}[2] = 4
  1475. ${test10}[0] = 1
  1476. ${test10}[1] = 2
  1477. ${test10}[2] = 3
  1478. ${test11}[0] = 2
  1479. ${test11}[1] = 3
  1480. ${test11}[2] = 4
  1481. ${test12}[0] = 3
  1482. ${test12}[1] = 4
  1483. ${test12}[2] = 5
  1484. ${test20}[0] = 2
  1485. ${test20}[1] = 3
  1486. ${test20}[2] = 4
  1487. ${test21}[0] = 3
  1488. ${test21}[1] = 4
  1489. ${test21}[2] = 5
  1490. ${test22}[0] = 4
  1491. ${test22}[1] = 5
  1492. ${test22}[2] = 6
  1493. *********************
  1494. *** hash test... ***
  1495. commented out...
  1496. **************************
  1497. *** Hash resizing test ***
  1498. ba
  1499. baa
  1500. baaa
  1501. baaaa
  1502. baaaaa
  1503. baaaaaa
  1504. baaaaaaa
  1505. baaaaaaaa
  1506. baaaaaaaaa
  1507. baaaaaaaaaa
  1508. ba
  1509. 10
  1510. baa
  1511. 9
  1512. baaa
  1513. 8
  1514. baaaa
  1515. 7
  1516. baaaaa
  1517. 6
  1518. baaaaaa
  1519. 5
  1520. baaaaaaa
  1521. 4
  1522. baaaaaaaa
  1523. 3
  1524. baaaaaaaaa
  1525. 2
  1526. baaaaaaaaaa
  1527. 1
  1528. **************************
  1529. *** break/continue test ***
  1530. $i should go from 0 to 2
  1531. $j should go from 3 to 4, and $q should go from 3 to 4
  1532. $j=3
  1533. $q=3
  1534. $q=4
  1535. $j=4
  1536. $q=3
  1537. $q=4
  1538. $j should go from 0 to 2
  1539. $j=0
  1540. $j=1
  1541. $j=2
  1542. $k should go from 0 to 2
  1543. $k=0
  1544. $k=1
  1545. $k=2
  1546. $i=0
  1547. $j should go from 3 to 4, and $q should go from 3 to 4
  1548. $j=3
  1549. $q=3
  1550. $q=4
  1551. $j=4
  1552. $q=3
  1553. $q=4
  1554. $j should go from 0 to 2
  1555. $j=0
  1556. $j=1
  1557. $j=2
  1558. $k should go from 0 to 2
  1559. $k=0
  1560. $k=1
  1561. $k=2
  1562. $i=1
  1563. $j should go from 3 to 4, and $q should go from 3 to 4
  1564. $j=3
  1565. $q=3
  1566. $q=4
  1567. $j=4
  1568. $q=3
  1569. $q=4
  1570. $j should go from 0 to 2
  1571. $j=0
  1572. $j=1
  1573. $j=2
  1574. $k should go from 0 to 2
  1575. $k=0
  1576. $k=1
  1577. $k=2
  1578. $i=2
  1579. ***********************
  1580. *** Nested file include test ***
  1581. <html>
  1582. This is Finish.phtml. This file is supposed to be included
  1583. from regression_test.phtml. This is normal HTML.
  1584. and this is PHP code, 2+2=4
  1585. </html>
  1586. ********************************
  1587. Tests completed.
  1588. <html>
  1589. <head>
  1590. *** Testing assignments and variable aliasing: ***
  1591. This should read "blah": blah
  1592. This should read "this is nifty": this is nifty
  1593. *************************************************
  1594. *** Testing integer operators ***
  1595. Correct result - 8: 8
  1596. Correct result - 8: 8
  1597. Correct result - 2: 2
  1598. Correct result - -2: -2
  1599. Correct result - 15: 15
  1600. Correct result - 15: 15
  1601. Correct result - 2: 2
  1602. Correct result - 3: 3
  1603. *********************************
  1604. *** Testing real operators ***
  1605. Correct result - 8: 8
  1606. Correct result - 8: 8
  1607. Correct result - 2: 2
  1608. Correct result - -2: -2
  1609. Correct result - 15: 15
  1610. Correct result - 15: 15
  1611. Correct result - 2: 2
  1612. Correct result - 3: 3
  1613. *********************************
  1614. *** Testing if/elseif/else control ***
  1615. This works
  1616. this_still_works
  1617. should_print
  1618. *** Seriously nested if's test ***
  1619. ** spelling correction by kluzz **
  1620. Only two lines of text should follow:
  1621. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  1622. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  1623. 3 loop iterations should follow:
  1624. 2 4
  1625. 3 4
  1626. 4 4
  1627. **********************************
  1628. *** C-style else-if's ***
  1629. This should be displayed
  1630. *************************
  1631. *** WHILE tests ***
  1632. 0 is smaller than 20
  1633. 1 is smaller than 20
  1634. 2 is smaller than 20
  1635. 3 is smaller than 20
  1636. 4 is smaller than 20
  1637. 5 is smaller than 20
  1638. 6 is smaller than 20
  1639. 7 is smaller than 20
  1640. 8 is smaller than 20
  1641. 9 is smaller than 20
  1642. 10 is smaller than 20
  1643. 11 is smaller than 20
  1644. 12 is smaller than 20
  1645. 13 is smaller than 20
  1646. 14 is smaller than 20
  1647. 15 is smaller than 20
  1648. 16 is smaller than 20
  1649. 17 is smaller than 20
  1650. 18 is smaller than 20
  1651. 19 is smaller than 20
  1652. 20 equals 20
  1653. 21 is greater than 20
  1654. 22 is greater than 20
  1655. 23 is greater than 20
  1656. 24 is greater than 20
  1657. 25 is greater than 20
  1658. 26 is greater than 20
  1659. 27 is greater than 20
  1660. 28 is greater than 20
  1661. 29 is greater than 20
  1662. 30 is greater than 20
  1663. 31 is greater than 20
  1664. 32 is greater than 20
  1665. 33 is greater than 20
  1666. 34 is greater than 20
  1667. 35 is greater than 20
  1668. 36 is greater than 20
  1669. 37 is greater than 20
  1670. 38 is greater than 20
  1671. 39 is greater than 20
  1672. *******************
  1673. *** Nested WHILEs ***
  1674. Each array variable should be equal to the sum of its indices:
  1675. ${test00}[0] = 0
  1676. ${test00}[1] = 1
  1677. ${test00}[2] = 2
  1678. ${test01}[0] = 1
  1679. ${test01}[1] = 2
  1680. ${test01}[2] = 3
  1681. ${test02}[0] = 2
  1682. ${test02}[1] = 3
  1683. ${test02}[2] = 4
  1684. ${test10}[0] = 1
  1685. ${test10}[1] = 2
  1686. ${test10}[2] = 3
  1687. ${test11}[0] = 2
  1688. ${test11}[1] = 3
  1689. ${test11}[2] = 4
  1690. ${test12}[0] = 3
  1691. ${test12}[1] = 4
  1692. ${test12}[2] = 5
  1693. ${test20}[0] = 2
  1694. ${test20}[1] = 3
  1695. ${test20}[2] = 4
  1696. ${test21}[0] = 3
  1697. ${test21}[1] = 4
  1698. ${test21}[2] = 5
  1699. ${test22}[0] = 4
  1700. ${test22}[1] = 5
  1701. ${test22}[2] = 6
  1702. *********************
  1703. *** hash test... ***
  1704. commented out...
  1705. **************************
  1706. *** Hash resizing test ***
  1707. ba
  1708. baa
  1709. baaa
  1710. baaaa
  1711. baaaaa
  1712. baaaaaa
  1713. baaaaaaa
  1714. baaaaaaaa
  1715. baaaaaaaaa
  1716. baaaaaaaaaa
  1717. ba
  1718. 10
  1719. baa
  1720. 9
  1721. baaa
  1722. 8
  1723. baaaa
  1724. 7
  1725. baaaaa
  1726. 6
  1727. baaaaaa
  1728. 5
  1729. baaaaaaa
  1730. 4
  1731. baaaaaaaa
  1732. 3
  1733. baaaaaaaaa
  1734. 2
  1735. baaaaaaaaaa
  1736. 1
  1737. **************************
  1738. *** break/continue test ***
  1739. $i should go from 0 to 2
  1740. $j should go from 3 to 4, and $q should go from 3 to 4
  1741. $j=3
  1742. $q=3
  1743. $q=4
  1744. $j=4
  1745. $q=3
  1746. $q=4
  1747. $j should go from 0 to 2
  1748. $j=0
  1749. $j=1
  1750. $j=2
  1751. $k should go from 0 to 2
  1752. $k=0
  1753. $k=1
  1754. $k=2
  1755. $i=0
  1756. $j should go from 3 to 4, and $q should go from 3 to 4
  1757. $j=3
  1758. $q=3
  1759. $q=4
  1760. $j=4
  1761. $q=3
  1762. $q=4
  1763. $j should go from 0 to 2
  1764. $j=0
  1765. $j=1
  1766. $j=2
  1767. $k should go from 0 to 2
  1768. $k=0
  1769. $k=1
  1770. $k=2
  1771. $i=1
  1772. $j should go from 3 to 4, and $q should go from 3 to 4
  1773. $j=3
  1774. $q=3
  1775. $q=4
  1776. $j=4
  1777. $q=3
  1778. $q=4
  1779. $j should go from 0 to 2
  1780. $j=0
  1781. $j=1
  1782. $j=2
  1783. $k should go from 0 to 2
  1784. $k=0
  1785. $k=1
  1786. $k=2
  1787. $i=2
  1788. ***********************
  1789. *** Nested file include test ***
  1790. <html>
  1791. This is Finish.phtml. This file is supposed to be included
  1792. from regression_test.phtml. This is normal HTML.
  1793. and this is PHP code, 2+2=4
  1794. </html>
  1795. ********************************
  1796. Tests completed.
  1797. <html>
  1798. <head>
  1799. *** Testing assignments and variable aliasing: ***
  1800. This should read "blah": blah
  1801. This should read "this is nifty": this is nifty
  1802. *************************************************
  1803. *** Testing integer operators ***
  1804. Correct result - 8: 8
  1805. Correct result - 8: 8
  1806. Correct result - 2: 2
  1807. Correct result - -2: -2
  1808. Correct result - 15: 15
  1809. Correct result - 15: 15
  1810. Correct result - 2: 2
  1811. Correct result - 3: 3
  1812. *********************************
  1813. *** Testing real operators ***
  1814. Correct result - 8: 8
  1815. Correct result - 8: 8
  1816. Correct result - 2: 2
  1817. Correct result - -2: -2
  1818. Correct result - 15: 15
  1819. Correct result - 15: 15
  1820. Correct result - 2: 2
  1821. Correct result - 3: 3
  1822. *********************************
  1823. *** Testing if/elseif/else control ***
  1824. This works
  1825. this_still_works
  1826. should_print
  1827. *** Seriously nested if's test ***
  1828. ** spelling correction by kluzz **
  1829. Only two lines of text should follow:
  1830. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  1831. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  1832. 3 loop iterations should follow:
  1833. 2 4
  1834. 3 4
  1835. 4 4
  1836. **********************************
  1837. *** C-style else-if's ***
  1838. This should be displayed
  1839. *************************
  1840. *** WHILE tests ***
  1841. 0 is smaller than 20
  1842. 1 is smaller than 20
  1843. 2 is smaller than 20
  1844. 3 is smaller than 20
  1845. 4 is smaller than 20
  1846. 5 is smaller than 20
  1847. 6 is smaller than 20
  1848. 7 is smaller than 20
  1849. 8 is smaller than 20
  1850. 9 is smaller than 20
  1851. 10 is smaller than 20
  1852. 11 is smaller than 20
  1853. 12 is smaller than 20
  1854. 13 is smaller than 20
  1855. 14 is smaller than 20
  1856. 15 is smaller than 20
  1857. 16 is smaller than 20
  1858. 17 is smaller than 20
  1859. 18 is smaller than 20
  1860. 19 is smaller than 20
  1861. 20 equals 20
  1862. 21 is greater than 20
  1863. 22 is greater than 20
  1864. 23 is greater than 20
  1865. 24 is greater than 20
  1866. 25 is greater than 20
  1867. 26 is greater than 20
  1868. 27 is greater than 20
  1869. 28 is greater than 20
  1870. 29 is greater than 20
  1871. 30 is greater than 20
  1872. 31 is greater than 20
  1873. 32 is greater than 20
  1874. 33 is greater than 20
  1875. 34 is greater than 20
  1876. 35 is greater than 20
  1877. 36 is greater than 20
  1878. 37 is greater than 20
  1879. 38 is greater than 20
  1880. 39 is greater than 20
  1881. *******************
  1882. *** Nested WHILEs ***
  1883. Each array variable should be equal to the sum of its indices:
  1884. ${test00}[0] = 0
  1885. ${test00}[1] = 1
  1886. ${test00}[2] = 2
  1887. ${test01}[0] = 1
  1888. ${test01}[1] = 2
  1889. ${test01}[2] = 3
  1890. ${test02}[0] = 2
  1891. ${test02}[1] = 3
  1892. ${test02}[2] = 4
  1893. ${test10}[0] = 1
  1894. ${test10}[1] = 2
  1895. ${test10}[2] = 3
  1896. ${test11}[0] = 2
  1897. ${test11}[1] = 3
  1898. ${test11}[2] = 4
  1899. ${test12}[0] = 3
  1900. ${test12}[1] = 4
  1901. ${test12}[2] = 5
  1902. ${test20}[0] = 2
  1903. ${test20}[1] = 3
  1904. ${test20}[2] = 4
  1905. ${test21}[0] = 3
  1906. ${test21}[1] = 4
  1907. ${test21}[2] = 5
  1908. ${test22}[0] = 4
  1909. ${test22}[1] = 5
  1910. ${test22}[2] = 6
  1911. *********************
  1912. *** hash test... ***
  1913. commented out...
  1914. **************************
  1915. *** Hash resizing test ***
  1916. ba
  1917. baa
  1918. baaa
  1919. baaaa
  1920. baaaaa
  1921. baaaaaa
  1922. baaaaaaa
  1923. baaaaaaaa
  1924. baaaaaaaaa
  1925. baaaaaaaaaa
  1926. ba
  1927. 10
  1928. baa
  1929. 9
  1930. baaa
  1931. 8
  1932. baaaa
  1933. 7
  1934. baaaaa
  1935. 6
  1936. baaaaaa
  1937. 5
  1938. baaaaaaa
  1939. 4
  1940. baaaaaaaa
  1941. 3
  1942. baaaaaaaaa
  1943. 2
  1944. baaaaaaaaaa
  1945. 1
  1946. **************************
  1947. *** break/continue test ***
  1948. $i should go from 0 to 2
  1949. $j should go from 3 to 4, and $q should go from 3 to 4
  1950. $j=3
  1951. $q=3
  1952. $q=4
  1953. $j=4
  1954. $q=3
  1955. $q=4
  1956. $j should go from 0 to 2
  1957. $j=0
  1958. $j=1
  1959. $j=2
  1960. $k should go from 0 to 2
  1961. $k=0
  1962. $k=1
  1963. $k=2
  1964. $i=0
  1965. $j should go from 3 to 4, and $q should go from 3 to 4
  1966. $j=3
  1967. $q=3
  1968. $q=4
  1969. $j=4
  1970. $q=3
  1971. $q=4
  1972. $j should go from 0 to 2
  1973. $j=0
  1974. $j=1
  1975. $j=2
  1976. $k should go from 0 to 2
  1977. $k=0
  1978. $k=1
  1979. $k=2
  1980. $i=1
  1981. $j should go from 3 to 4, and $q should go from 3 to 4
  1982. $j=3
  1983. $q=3
  1984. $q=4
  1985. $j=4
  1986. $q=3
  1987. $q=4
  1988. $j should go from 0 to 2
  1989. $j=0
  1990. $j=1
  1991. $j=2
  1992. $k should go from 0 to 2
  1993. $k=0
  1994. $k=1
  1995. $k=2
  1996. $i=2
  1997. ***********************
  1998. *** Nested file include test ***
  1999. <html>
  2000. This is Finish.phtml. This file is supposed to be included
  2001. from regression_test.phtml. This is normal HTML.
  2002. and this is PHP code, 2+2=4
  2003. </html>
  2004. ********************************
  2005. Tests completed.
  2006. <html>
  2007. <head>
  2008. *** Testing assignments and variable aliasing: ***
  2009. This should read "blah": blah
  2010. This should read "this is nifty": this is nifty
  2011. *************************************************
  2012. *** Testing integer operators ***
  2013. Correct result - 8: 8
  2014. Correct result - 8: 8
  2015. Correct result - 2: 2
  2016. Correct result - -2: -2
  2017. Correct result - 15: 15
  2018. Correct result - 15: 15
  2019. Correct result - 2: 2
  2020. Correct result - 3: 3
  2021. *********************************
  2022. *** Testing real operators ***
  2023. Correct result - 8: 8
  2024. Correct result - 8: 8
  2025. Correct result - 2: 2
  2026. Correct result - -2: -2
  2027. Correct result - 15: 15
  2028. Correct result - 15: 15
  2029. Correct result - 2: 2
  2030. Correct result - 3: 3
  2031. *********************************
  2032. *** Testing if/elseif/else control ***
  2033. This works
  2034. this_still_works
  2035. should_print
  2036. *** Seriously nested if's test ***
  2037. ** spelling correction by kluzz **
  2038. Only two lines of text should follow:
  2039. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  2040. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  2041. 3 loop iterations should follow:
  2042. 2 4
  2043. 3 4
  2044. 4 4
  2045. **********************************
  2046. *** C-style else-if's ***
  2047. This should be displayed
  2048. *************************
  2049. *** WHILE tests ***
  2050. 0 is smaller than 20
  2051. 1 is smaller than 20
  2052. 2 is smaller than 20
  2053. 3 is smaller than 20
  2054. 4 is smaller than 20
  2055. 5 is smaller than 20
  2056. 6 is smaller than 20
  2057. 7 is smaller than 20
  2058. 8 is smaller than 20
  2059. 9 is smaller than 20
  2060. 10 is smaller than 20
  2061. 11 is smaller than 20
  2062. 12 is smaller than 20
  2063. 13 is smaller than 20
  2064. 14 is smaller than 20
  2065. 15 is smaller than 20
  2066. 16 is smaller than 20
  2067. 17 is smaller than 20
  2068. 18 is smaller than 20
  2069. 19 is smaller than 20
  2070. 20 equals 20
  2071. 21 is greater than 20
  2072. 22 is greater than 20
  2073. 23 is greater than 20
  2074. 24 is greater than 20
  2075. 25 is greater than 20
  2076. 26 is greater than 20
  2077. 27 is greater than 20
  2078. 28 is greater than 20
  2079. 29 is greater than 20
  2080. 30 is greater than 20
  2081. 31 is greater than 20
  2082. 32 is greater than 20
  2083. 33 is greater than 20
  2084. 34 is greater than 20
  2085. 35 is greater than 20
  2086. 36 is greater than 20
  2087. 37 is greater than 20
  2088. 38 is greater than 20
  2089. 39 is greater than 20
  2090. *******************
  2091. *** Nested WHILEs ***
  2092. Each array variable should be equal to the sum of its indices:
  2093. ${test00}[0] = 0
  2094. ${test00}[1] = 1
  2095. ${test00}[2] = 2
  2096. ${test01}[0] = 1
  2097. ${test01}[1] = 2
  2098. ${test01}[2] = 3
  2099. ${test02}[0] = 2
  2100. ${test02}[1] = 3
  2101. ${test02}[2] = 4
  2102. ${test10}[0] = 1
  2103. ${test10}[1] = 2
  2104. ${test10}[2] = 3
  2105. ${test11}[0] = 2
  2106. ${test11}[1] = 3
  2107. ${test11}[2] = 4
  2108. ${test12}[0] = 3
  2109. ${test12}[1] = 4
  2110. ${test12}[2] = 5
  2111. ${test20}[0] = 2
  2112. ${test20}[1] = 3
  2113. ${test20}[2] = 4
  2114. ${test21}[0] = 3
  2115. ${test21}[1] = 4
  2116. ${test21}[2] = 5
  2117. ${test22}[0] = 4
  2118. ${test22}[1] = 5
  2119. ${test22}[2] = 6
  2120. *********************
  2121. *** hash test... ***
  2122. commented out...
  2123. **************************
  2124. *** Hash resizing test ***
  2125. ba
  2126. baa
  2127. baaa
  2128. baaaa
  2129. baaaaa
  2130. baaaaaa
  2131. baaaaaaa
  2132. baaaaaaaa
  2133. baaaaaaaaa
  2134. baaaaaaaaaa
  2135. ba
  2136. 10
  2137. baa
  2138. 9
  2139. baaa
  2140. 8
  2141. baaaa
  2142. 7
  2143. baaaaa
  2144. 6
  2145. baaaaaa
  2146. 5
  2147. baaaaaaa
  2148. 4
  2149. baaaaaaaa
  2150. 3
  2151. baaaaaaaaa
  2152. 2
  2153. baaaaaaaaaa
  2154. 1
  2155. **************************
  2156. *** break/continue test ***
  2157. $i should go from 0 to 2
  2158. $j should go from 3 to 4, and $q should go from 3 to 4
  2159. $j=3
  2160. $q=3
  2161. $q=4
  2162. $j=4
  2163. $q=3
  2164. $q=4
  2165. $j should go from 0 to 2
  2166. $j=0
  2167. $j=1
  2168. $j=2
  2169. $k should go from 0 to 2
  2170. $k=0
  2171. $k=1
  2172. $k=2
  2173. $i=0
  2174. $j should go from 3 to 4, and $q should go from 3 to 4
  2175. $j=3
  2176. $q=3
  2177. $q=4
  2178. $j=4
  2179. $q=3
  2180. $q=4
  2181. $j should go from 0 to 2
  2182. $j=0
  2183. $j=1
  2184. $j=2
  2185. $k should go from 0 to 2
  2186. $k=0
  2187. $k=1
  2188. $k=2
  2189. $i=1
  2190. $j should go from 3 to 4, and $q should go from 3 to 4
  2191. $j=3
  2192. $q=3
  2193. $q=4
  2194. $j=4
  2195. $q=3
  2196. $q=4
  2197. $j should go from 0 to 2
  2198. $j=0
  2199. $j=1
  2200. $j=2
  2201. $k should go from 0 to 2
  2202. $k=0
  2203. $k=1
  2204. $k=2
  2205. $i=2
  2206. ***********************
  2207. *** Nested file include test ***
  2208. <html>
  2209. This is Finish.phtml. This file is supposed to be included
  2210. from regression_test.phtml. This is normal HTML.
  2211. and this is PHP code, 2+2=4
  2212. </html>
  2213. ********************************
  2214. Tests completed.
  2215. <html>
  2216. <head>
  2217. *** Testing assignments and variable aliasing: ***
  2218. This should read "blah": blah
  2219. This should read "this is nifty": this is nifty
  2220. *************************************************
  2221. *** Testing integer operators ***
  2222. Correct result - 8: 8
  2223. Correct result - 8: 8
  2224. Correct result - 2: 2
  2225. Correct result - -2: -2
  2226. Correct result - 15: 15
  2227. Correct result - 15: 15
  2228. Correct result - 2: 2
  2229. Correct result - 3: 3
  2230. *********************************
  2231. *** Testing real operators ***
  2232. Correct result - 8: 8
  2233. Correct result - 8: 8
  2234. Correct result - 2: 2
  2235. Correct result - -2: -2
  2236. Correct result - 15: 15
  2237. Correct result - 15: 15
  2238. Correct result - 2: 2
  2239. Correct result - 3: 3
  2240. *********************************
  2241. *** Testing if/elseif/else control ***
  2242. This works
  2243. this_still_works
  2244. should_print
  2245. *** Seriously nested if's test ***
  2246. ** spelling correction by kluzz **
  2247. Only two lines of text should follow:
  2248. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  2249. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  2250. 3 loop iterations should follow:
  2251. 2 4
  2252. 3 4
  2253. 4 4
  2254. **********************************
  2255. *** C-style else-if's ***
  2256. This should be displayed
  2257. *************************
  2258. *** WHILE tests ***
  2259. 0 is smaller than 20
  2260. 1 is smaller than 20
  2261. 2 is smaller than 20
  2262. 3 is smaller than 20
  2263. 4 is smaller than 20
  2264. 5 is smaller than 20
  2265. 6 is smaller than 20
  2266. 7 is smaller than 20
  2267. 8 is smaller than 20
  2268. 9 is smaller than 20
  2269. 10 is smaller than 20
  2270. 11 is smaller than 20
  2271. 12 is smaller than 20
  2272. 13 is smaller than 20
  2273. 14 is smaller than 20
  2274. 15 is smaller than 20
  2275. 16 is smaller than 20
  2276. 17 is smaller than 20
  2277. 18 is smaller than 20
  2278. 19 is smaller than 20
  2279. 20 equals 20
  2280. 21 is greater than 20
  2281. 22 is greater than 20
  2282. 23 is greater than 20
  2283. 24 is greater than 20
  2284. 25 is greater than 20
  2285. 26 is greater than 20
  2286. 27 is greater than 20
  2287. 28 is greater than 20
  2288. 29 is greater than 20
  2289. 30 is greater than 20
  2290. 31 is greater than 20
  2291. 32 is greater than 20
  2292. 33 is greater than 20
  2293. 34 is greater than 20
  2294. 35 is greater than 20
  2295. 36 is greater than 20
  2296. 37 is greater than 20
  2297. 38 is greater than 20
  2298. 39 is greater than 20
  2299. *******************
  2300. *** Nested WHILEs ***
  2301. Each array variable should be equal to the sum of its indices:
  2302. ${test00}[0] = 0
  2303. ${test00}[1] = 1
  2304. ${test00}[2] = 2
  2305. ${test01}[0] = 1
  2306. ${test01}[1] = 2
  2307. ${test01}[2] = 3
  2308. ${test02}[0] = 2
  2309. ${test02}[1] = 3
  2310. ${test02}[2] = 4
  2311. ${test10}[0] = 1
  2312. ${test10}[1] = 2
  2313. ${test10}[2] = 3
  2314. ${test11}[0] = 2
  2315. ${test11}[1] = 3
  2316. ${test11}[2] = 4
  2317. ${test12}[0] = 3
  2318. ${test12}[1] = 4
  2319. ${test12}[2] = 5
  2320. ${test20}[0] = 2
  2321. ${test20}[1] = 3
  2322. ${test20}[2] = 4
  2323. ${test21}[0] = 3
  2324. ${test21}[1] = 4
  2325. ${test21}[2] = 5
  2326. ${test22}[0] = 4
  2327. ${test22}[1] = 5
  2328. ${test22}[2] = 6
  2329. *********************
  2330. *** hash test... ***
  2331. commented out...
  2332. **************************
  2333. *** Hash resizing test ***
  2334. ba
  2335. baa
  2336. baaa
  2337. baaaa
  2338. baaaaa
  2339. baaaaaa
  2340. baaaaaaa
  2341. baaaaaaaa
  2342. baaaaaaaaa
  2343. baaaaaaaaaa
  2344. ba
  2345. 10
  2346. baa
  2347. 9
  2348. baaa
  2349. 8
  2350. baaaa
  2351. 7
  2352. baaaaa
  2353. 6
  2354. baaaaaa
  2355. 5
  2356. baaaaaaa
  2357. 4
  2358. baaaaaaaa
  2359. 3
  2360. baaaaaaaaa
  2361. 2
  2362. baaaaaaaaaa
  2363. 1
  2364. **************************
  2365. *** break/continue test ***
  2366. $i should go from 0 to 2
  2367. $j should go from 3 to 4, and $q should go from 3 to 4
  2368. $j=3
  2369. $q=3
  2370. $q=4
  2371. $j=4
  2372. $q=3
  2373. $q=4
  2374. $j should go from 0 to 2
  2375. $j=0
  2376. $j=1
  2377. $j=2
  2378. $k should go from 0 to 2
  2379. $k=0
  2380. $k=1
  2381. $k=2
  2382. $i=0
  2383. $j should go from 3 to 4, and $q should go from 3 to 4
  2384. $j=3
  2385. $q=3
  2386. $q=4
  2387. $j=4
  2388. $q=3
  2389. $q=4
  2390. $j should go from 0 to 2
  2391. $j=0
  2392. $j=1
  2393. $j=2
  2394. $k should go from 0 to 2
  2395. $k=0
  2396. $k=1
  2397. $k=2
  2398. $i=1
  2399. $j should go from 3 to 4, and $q should go from 3 to 4
  2400. $j=3
  2401. $q=3
  2402. $q=4
  2403. $j=4
  2404. $q=3
  2405. $q=4
  2406. $j should go from 0 to 2
  2407. $j=0
  2408. $j=1
  2409. $j=2
  2410. $k should go from 0 to 2
  2411. $k=0
  2412. $k=1
  2413. $k=2
  2414. $i=2
  2415. ***********************
  2416. *** Nested file include test ***
  2417. <html>
  2418. This is Finish.phtml. This file is supposed to be included
  2419. from regression_test.phtml. This is normal HTML.
  2420. and this is PHP code, 2+2=4
  2421. </html>
  2422. ********************************
  2423. Tests completed.
  2424. <html>
  2425. <head>
  2426. *** Testing assignments and variable aliasing: ***
  2427. This should read "blah": blah
  2428. This should read "this is nifty": this is nifty
  2429. *************************************************
  2430. *** Testing integer operators ***
  2431. Correct result - 8: 8
  2432. Correct result - 8: 8
  2433. Correct result - 2: 2
  2434. Correct result - -2: -2
  2435. Correct result - 15: 15
  2436. Correct result - 15: 15
  2437. Correct result - 2: 2
  2438. Correct result - 3: 3
  2439. *********************************
  2440. *** Testing real operators ***
  2441. Correct result - 8: 8
  2442. Correct result - 8: 8
  2443. Correct result - 2: 2
  2444. Correct result - -2: -2
  2445. Correct result - 15: 15
  2446. Correct result - 15: 15
  2447. Correct result - 2: 2
  2448. Correct result - 3: 3
  2449. *********************************
  2450. *** Testing if/elseif/else control ***
  2451. This works
  2452. this_still_works
  2453. should_print
  2454. *** Seriously nested if's test ***
  2455. ** spelling correction by kluzz **
  2456. Only two lines of text should follow:
  2457. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  2458. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  2459. 3 loop iterations should follow:
  2460. 2 4
  2461. 3 4
  2462. 4 4
  2463. **********************************
  2464. *** C-style else-if's ***
  2465. This should be displayed
  2466. *************************
  2467. *** WHILE tests ***
  2468. 0 is smaller than 20
  2469. 1 is smaller than 20
  2470. 2 is smaller than 20
  2471. 3 is smaller than 20
  2472. 4 is smaller than 20
  2473. 5 is smaller than 20
  2474. 6 is smaller than 20
  2475. 7 is smaller than 20
  2476. 8 is smaller than 20
  2477. 9 is smaller than 20
  2478. 10 is smaller than 20
  2479. 11 is smaller than 20
  2480. 12 is smaller than 20
  2481. 13 is smaller than 20
  2482. 14 is smaller than 20
  2483. 15 is smaller than 20
  2484. 16 is smaller than 20
  2485. 17 is smaller than 20
  2486. 18 is smaller than 20
  2487. 19 is smaller than 20
  2488. 20 equals 20
  2489. 21 is greater than 20
  2490. 22 is greater than 20
  2491. 23 is greater than 20
  2492. 24 is greater than 20
  2493. 25 is greater than 20
  2494. 26 is greater than 20
  2495. 27 is greater than 20
  2496. 28 is greater than 20
  2497. 29 is greater than 20
  2498. 30 is greater than 20
  2499. 31 is greater than 20
  2500. 32 is greater than 20
  2501. 33 is greater than 20
  2502. 34 is greater than 20
  2503. 35 is greater than 20
  2504. 36 is greater than 20
  2505. 37 is greater than 20
  2506. 38 is greater than 20
  2507. 39 is greater than 20
  2508. *******************
  2509. *** Nested WHILEs ***
  2510. Each array variable should be equal to the sum of its indices:
  2511. ${test00}[0] = 0
  2512. ${test00}[1] = 1
  2513. ${test00}[2] = 2
  2514. ${test01}[0] = 1
  2515. ${test01}[1] = 2
  2516. ${test01}[2] = 3
  2517. ${test02}[0] = 2
  2518. ${test02}[1] = 3
  2519. ${test02}[2] = 4
  2520. ${test10}[0] = 1
  2521. ${test10}[1] = 2
  2522. ${test10}[2] = 3
  2523. ${test11}[0] = 2
  2524. ${test11}[1] = 3
  2525. ${test11}[2] = 4
  2526. ${test12}[0] = 3
  2527. ${test12}[1] = 4
  2528. ${test12}[2] = 5
  2529. ${test20}[0] = 2
  2530. ${test20}[1] = 3
  2531. ${test20}[2] = 4
  2532. ${test21}[0] = 3
  2533. ${test21}[1] = 4
  2534. ${test21}[2] = 5
  2535. ${test22}[0] = 4
  2536. ${test22}[1] = 5
  2537. ${test22}[2] = 6
  2538. *********************
  2539. *** hash test... ***
  2540. commented out...
  2541. **************************
  2542. *** Hash resizing test ***
  2543. ba
  2544. baa
  2545. baaa
  2546. baaaa
  2547. baaaaa
  2548. baaaaaa
  2549. baaaaaaa
  2550. baaaaaaaa
  2551. baaaaaaaaa
  2552. baaaaaaaaaa
  2553. ba
  2554. 10
  2555. baa
  2556. 9
  2557. baaa
  2558. 8
  2559. baaaa
  2560. 7
  2561. baaaaa
  2562. 6
  2563. baaaaaa
  2564. 5
  2565. baaaaaaa
  2566. 4
  2567. baaaaaaaa
  2568. 3
  2569. baaaaaaaaa
  2570. 2
  2571. baaaaaaaaaa
  2572. 1
  2573. **************************
  2574. *** break/continue test ***
  2575. $i should go from 0 to 2
  2576. $j should go from 3 to 4, and $q should go from 3 to 4
  2577. $j=3
  2578. $q=3
  2579. $q=4
  2580. $j=4
  2581. $q=3
  2582. $q=4
  2583. $j should go from 0 to 2
  2584. $j=0
  2585. $j=1
  2586. $j=2
  2587. $k should go from 0 to 2
  2588. $k=0
  2589. $k=1
  2590. $k=2
  2591. $i=0
  2592. $j should go from 3 to 4, and $q should go from 3 to 4
  2593. $j=3
  2594. $q=3
  2595. $q=4
  2596. $j=4
  2597. $q=3
  2598. $q=4
  2599. $j should go from 0 to 2
  2600. $j=0
  2601. $j=1
  2602. $j=2
  2603. $k should go from 0 to 2
  2604. $k=0
  2605. $k=1
  2606. $k=2
  2607. $i=1
  2608. $j should go from 3 to 4, and $q should go from 3 to 4
  2609. $j=3
  2610. $q=3
  2611. $q=4
  2612. $j=4
  2613. $q=3
  2614. $q=4
  2615. $j should go from 0 to 2
  2616. $j=0
  2617. $j=1
  2618. $j=2
  2619. $k should go from 0 to 2
  2620. $k=0
  2621. $k=1
  2622. $k=2
  2623. $i=2
  2624. ***********************
  2625. *** Nested file include test ***
  2626. <html>
  2627. This is Finish.phtml. This file is supposed to be included
  2628. from regression_test.phtml. This is normal HTML.
  2629. and this is PHP code, 2+2=4
  2630. </html>
  2631. ********************************
  2632. Tests completed.
  2633. <html>
  2634. <head>
  2635. *** Testing assignments and variable aliasing: ***
  2636. This should read "blah": blah
  2637. This should read "this is nifty": this is nifty
  2638. *************************************************
  2639. *** Testing integer operators ***
  2640. Correct result - 8: 8
  2641. Correct result - 8: 8
  2642. Correct result - 2: 2
  2643. Correct result - -2: -2
  2644. Correct result - 15: 15
  2645. Correct result - 15: 15
  2646. Correct result - 2: 2
  2647. Correct result - 3: 3
  2648. *********************************
  2649. *** Testing real operators ***
  2650. Correct result - 8: 8
  2651. Correct result - 8: 8
  2652. Correct result - 2: 2
  2653. Correct result - -2: -2
  2654. Correct result - 15: 15
  2655. Correct result - 15: 15
  2656. Correct result - 2: 2
  2657. Correct result - 3: 3
  2658. *********************************
  2659. *** Testing if/elseif/else control ***
  2660. This works
  2661. this_still_works
  2662. should_print
  2663. *** Seriously nested if's test ***
  2664. ** spelling correction by kluzz **
  2665. Only two lines of text should follow:
  2666. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  2667. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  2668. 3 loop iterations should follow:
  2669. 2 4
  2670. 3 4
  2671. 4 4
  2672. **********************************
  2673. *** C-style else-if's ***
  2674. This should be displayed
  2675. *************************
  2676. *** WHILE tests ***
  2677. 0 is smaller than 20
  2678. 1 is smaller than 20
  2679. 2 is smaller than 20
  2680. 3 is smaller than 20
  2681. 4 is smaller than 20
  2682. 5 is smaller than 20
  2683. 6 is smaller than 20
  2684. 7 is smaller than 20
  2685. 8 is smaller than 20
  2686. 9 is smaller than 20
  2687. 10 is smaller than 20
  2688. 11 is smaller than 20
  2689. 12 is smaller than 20
  2690. 13 is smaller than 20
  2691. 14 is smaller than 20
  2692. 15 is smaller than 20
  2693. 16 is smaller than 20
  2694. 17 is smaller than 20
  2695. 18 is smaller than 20
  2696. 19 is smaller than 20
  2697. 20 equals 20
  2698. 21 is greater than 20
  2699. 22 is greater than 20
  2700. 23 is greater than 20
  2701. 24 is greater than 20
  2702. 25 is greater than 20
  2703. 26 is greater than 20
  2704. 27 is greater than 20
  2705. 28 is greater than 20
  2706. 29 is greater than 20
  2707. 30 is greater than 20
  2708. 31 is greater than 20
  2709. 32 is greater than 20
  2710. 33 is greater than 20
  2711. 34 is greater than 20
  2712. 35 is greater than 20
  2713. 36 is greater than 20
  2714. 37 is greater than 20
  2715. 38 is greater than 20
  2716. 39 is greater than 20
  2717. *******************
  2718. *** Nested WHILEs ***
  2719. Each array variable should be equal to the sum of its indices:
  2720. ${test00}[0] = 0
  2721. ${test00}[1] = 1
  2722. ${test00}[2] = 2
  2723. ${test01}[0] = 1
  2724. ${test01}[1] = 2
  2725. ${test01}[2] = 3
  2726. ${test02}[0] = 2
  2727. ${test02}[1] = 3
  2728. ${test02}[2] = 4
  2729. ${test10}[0] = 1
  2730. ${test10}[1] = 2
  2731. ${test10}[2] = 3
  2732. ${test11}[0] = 2
  2733. ${test11}[1] = 3
  2734. ${test11}[2] = 4
  2735. ${test12}[0] = 3
  2736. ${test12}[1] = 4
  2737. ${test12}[2] = 5
  2738. ${test20}[0] = 2
  2739. ${test20}[1] = 3
  2740. ${test20}[2] = 4
  2741. ${test21}[0] = 3
  2742. ${test21}[1] = 4
  2743. ${test21}[2] = 5
  2744. ${test22}[0] = 4
  2745. ${test22}[1] = 5
  2746. ${test22}[2] = 6
  2747. *********************
  2748. *** hash test... ***
  2749. commented out...
  2750. **************************
  2751. *** Hash resizing test ***
  2752. ba
  2753. baa
  2754. baaa
  2755. baaaa
  2756. baaaaa
  2757. baaaaaa
  2758. baaaaaaa
  2759. baaaaaaaa
  2760. baaaaaaaaa
  2761. baaaaaaaaaa
  2762. ba
  2763. 10
  2764. baa
  2765. 9
  2766. baaa
  2767. 8
  2768. baaaa
  2769. 7
  2770. baaaaa
  2771. 6
  2772. baaaaaa
  2773. 5
  2774. baaaaaaa
  2775. 4
  2776. baaaaaaaa
  2777. 3
  2778. baaaaaaaaa
  2779. 2
  2780. baaaaaaaaaa
  2781. 1
  2782. **************************
  2783. *** break/continue test ***
  2784. $i should go from 0 to 2
  2785. $j should go from 3 to 4, and $q should go from 3 to 4
  2786. $j=3
  2787. $q=3
  2788. $q=4
  2789. $j=4
  2790. $q=3
  2791. $q=4
  2792. $j should go from 0 to 2
  2793. $j=0
  2794. $j=1
  2795. $j=2
  2796. $k should go from 0 to 2
  2797. $k=0
  2798. $k=1
  2799. $k=2
  2800. $i=0
  2801. $j should go from 3 to 4, and $q should go from 3 to 4
  2802. $j=3
  2803. $q=3
  2804. $q=4
  2805. $j=4
  2806. $q=3
  2807. $q=4
  2808. $j should go from 0 to 2
  2809. $j=0
  2810. $j=1
  2811. $j=2
  2812. $k should go from 0 to 2
  2813. $k=0
  2814. $k=1
  2815. $k=2
  2816. $i=1
  2817. $j should go from 3 to 4, and $q should go from 3 to 4
  2818. $j=3
  2819. $q=3
  2820. $q=4
  2821. $j=4
  2822. $q=3
  2823. $q=4
  2824. $j should go from 0 to 2
  2825. $j=0
  2826. $j=1
  2827. $j=2
  2828. $k should go from 0 to 2
  2829. $k=0
  2830. $k=1
  2831. $k=2
  2832. $i=2
  2833. ***********************
  2834. *** Nested file include test ***
  2835. <html>
  2836. This is Finish.phtml. This file is supposed to be included
  2837. from regression_test.phtml. This is normal HTML.
  2838. and this is PHP code, 2+2=4
  2839. </html>
  2840. ********************************
  2841. Tests completed.
  2842. <html>
  2843. <head>
  2844. *** Testing assignments and variable aliasing: ***
  2845. This should read "blah": blah
  2846. This should read "this is nifty": this is nifty
  2847. *************************************************
  2848. *** Testing integer operators ***
  2849. Correct result - 8: 8
  2850. Correct result - 8: 8
  2851. Correct result - 2: 2
  2852. Correct result - -2: -2
  2853. Correct result - 15: 15
  2854. Correct result - 15: 15
  2855. Correct result - 2: 2
  2856. Correct result - 3: 3
  2857. *********************************
  2858. *** Testing real operators ***
  2859. Correct result - 8: 8
  2860. Correct result - 8: 8
  2861. Correct result - 2: 2
  2862. Correct result - -2: -2
  2863. Correct result - 15: 15
  2864. Correct result - 15: 15
  2865. Correct result - 2: 2
  2866. Correct result - 3: 3
  2867. *********************************
  2868. *** Testing if/elseif/else control ***
  2869. This works
  2870. this_still_works
  2871. should_print
  2872. *** Seriously nested if's test ***
  2873. ** spelling correction by kluzz **
  2874. Only two lines of text should follow:
  2875. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  2876. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  2877. 3 loop iterations should follow:
  2878. 2 4
  2879. 3 4
  2880. 4 4
  2881. **********************************
  2882. *** C-style else-if's ***
  2883. This should be displayed
  2884. *************************
  2885. *** WHILE tests ***
  2886. 0 is smaller than 20
  2887. 1 is smaller than 20
  2888. 2 is smaller than 20
  2889. 3 is smaller than 20
  2890. 4 is smaller than 20
  2891. 5 is smaller than 20
  2892. 6 is smaller than 20
  2893. 7 is smaller than 20
  2894. 8 is smaller than 20
  2895. 9 is smaller than 20
  2896. 10 is smaller than 20
  2897. 11 is smaller than 20
  2898. 12 is smaller than 20
  2899. 13 is smaller than 20
  2900. 14 is smaller than 20
  2901. 15 is smaller than 20
  2902. 16 is smaller than 20
  2903. 17 is smaller than 20
  2904. 18 is smaller than 20
  2905. 19 is smaller than 20
  2906. 20 equals 20
  2907. 21 is greater than 20
  2908. 22 is greater than 20
  2909. 23 is greater than 20
  2910. 24 is greater than 20
  2911. 25 is greater than 20
  2912. 26 is greater than 20
  2913. 27 is greater than 20
  2914. 28 is greater than 20
  2915. 29 is greater than 20
  2916. 30 is greater than 20
  2917. 31 is greater than 20
  2918. 32 is greater than 20
  2919. 33 is greater than 20
  2920. 34 is greater than 20
  2921. 35 is greater than 20
  2922. 36 is greater than 20
  2923. 37 is greater than 20
  2924. 38 is greater than 20
  2925. 39 is greater than 20
  2926. *******************
  2927. *** Nested WHILEs ***
  2928. Each array variable should be equal to the sum of its indices:
  2929. ${test00}[0] = 0
  2930. ${test00}[1] = 1
  2931. ${test00}[2] = 2
  2932. ${test01}[0] = 1
  2933. ${test01}[1] = 2
  2934. ${test01}[2] = 3
  2935. ${test02}[0] = 2
  2936. ${test02}[1] = 3
  2937. ${test02}[2] = 4
  2938. ${test10}[0] = 1
  2939. ${test10}[1] = 2
  2940. ${test10}[2] = 3
  2941. ${test11}[0] = 2
  2942. ${test11}[1] = 3
  2943. ${test11}[2] = 4
  2944. ${test12}[0] = 3
  2945. ${test12}[1] = 4
  2946. ${test12}[2] = 5
  2947. ${test20}[0] = 2
  2948. ${test20}[1] = 3
  2949. ${test20}[2] = 4
  2950. ${test21}[0] = 3
  2951. ${test21}[1] = 4
  2952. ${test21}[2] = 5
  2953. ${test22}[0] = 4
  2954. ${test22}[1] = 5
  2955. ${test22}[2] = 6
  2956. *********************
  2957. *** hash test... ***
  2958. commented out...
  2959. **************************
  2960. *** Hash resizing test ***
  2961. ba
  2962. baa
  2963. baaa
  2964. baaaa
  2965. baaaaa
  2966. baaaaaa
  2967. baaaaaaa
  2968. baaaaaaaa
  2969. baaaaaaaaa
  2970. baaaaaaaaaa
  2971. ba
  2972. 10
  2973. baa
  2974. 9
  2975. baaa
  2976. 8
  2977. baaaa
  2978. 7
  2979. baaaaa
  2980. 6
  2981. baaaaaa
  2982. 5
  2983. baaaaaaa
  2984. 4
  2985. baaaaaaaa
  2986. 3
  2987. baaaaaaaaa
  2988. 2
  2989. baaaaaaaaaa
  2990. 1
  2991. **************************
  2992. *** break/continue test ***
  2993. $i should go from 0 to 2
  2994. $j should go from 3 to 4, and $q should go from 3 to 4
  2995. $j=3
  2996. $q=3
  2997. $q=4
  2998. $j=4
  2999. $q=3
  3000. $q=4
  3001. $j should go from 0 to 2
  3002. $j=0
  3003. $j=1
  3004. $j=2
  3005. $k should go from 0 to 2
  3006. $k=0
  3007. $k=1
  3008. $k=2
  3009. $i=0
  3010. $j should go from 3 to 4, and $q should go from 3 to 4
  3011. $j=3
  3012. $q=3
  3013. $q=4
  3014. $j=4
  3015. $q=3
  3016. $q=4
  3017. $j should go from 0 to 2
  3018. $j=0
  3019. $j=1
  3020. $j=2
  3021. $k should go from 0 to 2
  3022. $k=0
  3023. $k=1
  3024. $k=2
  3025. $i=1
  3026. $j should go from 3 to 4, and $q should go from 3 to 4
  3027. $j=3
  3028. $q=3
  3029. $q=4
  3030. $j=4
  3031. $q=3
  3032. $q=4
  3033. $j should go from 0 to 2
  3034. $j=0
  3035. $j=1
  3036. $j=2
  3037. $k should go from 0 to 2
  3038. $k=0
  3039. $k=1
  3040. $k=2
  3041. $i=2
  3042. ***********************
  3043. *** Nested file include test ***
  3044. <html>
  3045. This is Finish.phtml. This file is supposed to be included
  3046. from regression_test.phtml. This is normal HTML.
  3047. and this is PHP code, 2+2=4
  3048. </html>
  3049. ********************************
  3050. Tests completed.
  3051. <html>
  3052. <head>
  3053. *** Testing assignments and variable aliasing: ***
  3054. This should read "blah": blah
  3055. This should read "this is nifty": this is nifty
  3056. *************************************************
  3057. *** Testing integer operators ***
  3058. Correct result - 8: 8
  3059. Correct result - 8: 8
  3060. Correct result - 2: 2
  3061. Correct result - -2: -2
  3062. Correct result - 15: 15
  3063. Correct result - 15: 15
  3064. Correct result - 2: 2
  3065. Correct result - 3: 3
  3066. *********************************
  3067. *** Testing real operators ***
  3068. Correct result - 8: 8
  3069. Correct result - 8: 8
  3070. Correct result - 2: 2
  3071. Correct result - -2: -2
  3072. Correct result - 15: 15
  3073. Correct result - 15: 15
  3074. Correct result - 2: 2
  3075. Correct result - 3: 3
  3076. *********************************
  3077. *** Testing if/elseif/else control ***
  3078. This works
  3079. this_still_works
  3080. should_print
  3081. *** Seriously nested if's test ***
  3082. ** spelling correction by kluzz **
  3083. Only two lines of text should follow:
  3084. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  3085. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  3086. 3 loop iterations should follow:
  3087. 2 4
  3088. 3 4
  3089. 4 4
  3090. **********************************
  3091. *** C-style else-if's ***
  3092. This should be displayed
  3093. *************************
  3094. *** WHILE tests ***
  3095. 0 is smaller than 20
  3096. 1 is smaller than 20
  3097. 2 is smaller than 20
  3098. 3 is smaller than 20
  3099. 4 is smaller than 20
  3100. 5 is smaller than 20
  3101. 6 is smaller than 20
  3102. 7 is smaller than 20
  3103. 8 is smaller than 20
  3104. 9 is smaller than 20
  3105. 10 is smaller than 20
  3106. 11 is smaller than 20
  3107. 12 is smaller than 20
  3108. 13 is smaller than 20
  3109. 14 is smaller than 20
  3110. 15 is smaller than 20
  3111. 16 is smaller than 20
  3112. 17 is smaller than 20
  3113. 18 is smaller than 20
  3114. 19 is smaller than 20
  3115. 20 equals 20
  3116. 21 is greater than 20
  3117. 22 is greater than 20
  3118. 23 is greater than 20
  3119. 24 is greater than 20
  3120. 25 is greater than 20
  3121. 26 is greater than 20
  3122. 27 is greater than 20
  3123. 28 is greater than 20
  3124. 29 is greater than 20
  3125. 30 is greater than 20
  3126. 31 is greater than 20
  3127. 32 is greater than 20
  3128. 33 is greater than 20
  3129. 34 is greater than 20
  3130. 35 is greater than 20
  3131. 36 is greater than 20
  3132. 37 is greater than 20
  3133. 38 is greater than 20
  3134. 39 is greater than 20
  3135. *******************
  3136. *** Nested WHILEs ***
  3137. Each array variable should be equal to the sum of its indices:
  3138. ${test00}[0] = 0
  3139. ${test00}[1] = 1
  3140. ${test00}[2] = 2
  3141. ${test01}[0] = 1
  3142. ${test01}[1] = 2
  3143. ${test01}[2] = 3
  3144. ${test02}[0] = 2
  3145. ${test02}[1] = 3
  3146. ${test02}[2] = 4
  3147. ${test10}[0] = 1
  3148. ${test10}[1] = 2
  3149. ${test10}[2] = 3
  3150. ${test11}[0] = 2
  3151. ${test11}[1] = 3
  3152. ${test11}[2] = 4
  3153. ${test12}[0] = 3
  3154. ${test12}[1] = 4
  3155. ${test12}[2] = 5
  3156. ${test20}[0] = 2
  3157. ${test20}[1] = 3
  3158. ${test20}[2] = 4
  3159. ${test21}[0] = 3
  3160. ${test21}[1] = 4
  3161. ${test21}[2] = 5
  3162. ${test22}[0] = 4
  3163. ${test22}[1] = 5
  3164. ${test22}[2] = 6
  3165. *********************
  3166. *** hash test... ***
  3167. commented out...
  3168. **************************
  3169. *** Hash resizing test ***
  3170. ba
  3171. baa
  3172. baaa
  3173. baaaa
  3174. baaaaa
  3175. baaaaaa
  3176. baaaaaaa
  3177. baaaaaaaa
  3178. baaaaaaaaa
  3179. baaaaaaaaaa
  3180. ba
  3181. 10
  3182. baa
  3183. 9
  3184. baaa
  3185. 8
  3186. baaaa
  3187. 7
  3188. baaaaa
  3189. 6
  3190. baaaaaa
  3191. 5
  3192. baaaaaaa
  3193. 4
  3194. baaaaaaaa
  3195. 3
  3196. baaaaaaaaa
  3197. 2
  3198. baaaaaaaaaa
  3199. 1
  3200. **************************
  3201. *** break/continue test ***
  3202. $i should go from 0 to 2
  3203. $j should go from 3 to 4, and $q should go from 3 to 4
  3204. $j=3
  3205. $q=3
  3206. $q=4
  3207. $j=4
  3208. $q=3
  3209. $q=4
  3210. $j should go from 0 to 2
  3211. $j=0
  3212. $j=1
  3213. $j=2
  3214. $k should go from 0 to 2
  3215. $k=0
  3216. $k=1
  3217. $k=2
  3218. $i=0
  3219. $j should go from 3 to 4, and $q should go from 3 to 4
  3220. $j=3
  3221. $q=3
  3222. $q=4
  3223. $j=4
  3224. $q=3
  3225. $q=4
  3226. $j should go from 0 to 2
  3227. $j=0
  3228. $j=1
  3229. $j=2
  3230. $k should go from 0 to 2
  3231. $k=0
  3232. $k=1
  3233. $k=2
  3234. $i=1
  3235. $j should go from 3 to 4, and $q should go from 3 to 4
  3236. $j=3
  3237. $q=3
  3238. $q=4
  3239. $j=4
  3240. $q=3
  3241. $q=4
  3242. $j should go from 0 to 2
  3243. $j=0
  3244. $j=1
  3245. $j=2
  3246. $k should go from 0 to 2
  3247. $k=0
  3248. $k=1
  3249. $k=2
  3250. $i=2
  3251. ***********************
  3252. *** Nested file include test ***
  3253. <html>
  3254. This is Finish.phtml. This file is supposed to be included
  3255. from regression_test.phtml. This is normal HTML.
  3256. and this is PHP code, 2+2=4
  3257. </html>
  3258. ********************************
  3259. Tests completed.
  3260. <html>
  3261. <head>
  3262. *** Testing assignments and variable aliasing: ***
  3263. This should read "blah": blah
  3264. This should read "this is nifty": this is nifty
  3265. *************************************************
  3266. *** Testing integer operators ***
  3267. Correct result - 8: 8
  3268. Correct result - 8: 8
  3269. Correct result - 2: 2
  3270. Correct result - -2: -2
  3271. Correct result - 15: 15
  3272. Correct result - 15: 15
  3273. Correct result - 2: 2
  3274. Correct result - 3: 3
  3275. *********************************
  3276. *** Testing real operators ***
  3277. Correct result - 8: 8
  3278. Correct result - 8: 8
  3279. Correct result - 2: 2
  3280. Correct result - -2: -2
  3281. Correct result - 15: 15
  3282. Correct result - 15: 15
  3283. Correct result - 2: 2
  3284. Correct result - 3: 3
  3285. *********************************
  3286. *** Testing if/elseif/else control ***
  3287. This works
  3288. this_still_works
  3289. should_print
  3290. *** Seriously nested if's test ***
  3291. ** spelling correction by kluzz **
  3292. Only two lines of text should follow:
  3293. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  3294. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  3295. 3 loop iterations should follow:
  3296. 2 4
  3297. 3 4
  3298. 4 4
  3299. **********************************
  3300. *** C-style else-if's ***
  3301. This should be displayed
  3302. *************************
  3303. *** WHILE tests ***
  3304. 0 is smaller than 20
  3305. 1 is smaller than 20
  3306. 2 is smaller than 20
  3307. 3 is smaller than 20
  3308. 4 is smaller than 20
  3309. 5 is smaller than 20
  3310. 6 is smaller than 20
  3311. 7 is smaller than 20
  3312. 8 is smaller than 20
  3313. 9 is smaller than 20
  3314. 10 is smaller than 20
  3315. 11 is smaller than 20
  3316. 12 is smaller than 20
  3317. 13 is smaller than 20
  3318. 14 is smaller than 20
  3319. 15 is smaller than 20
  3320. 16 is smaller than 20
  3321. 17 is smaller than 20
  3322. 18 is smaller than 20
  3323. 19 is smaller than 20
  3324. 20 equals 20
  3325. 21 is greater than 20
  3326. 22 is greater than 20
  3327. 23 is greater than 20
  3328. 24 is greater than 20
  3329. 25 is greater than 20
  3330. 26 is greater than 20
  3331. 27 is greater than 20
  3332. 28 is greater than 20
  3333. 29 is greater than 20
  3334. 30 is greater than 20
  3335. 31 is greater than 20
  3336. 32 is greater than 20
  3337. 33 is greater than 20
  3338. 34 is greater than 20
  3339. 35 is greater than 20
  3340. 36 is greater than 20
  3341. 37 is greater than 20
  3342. 38 is greater than 20
  3343. 39 is greater than 20
  3344. *******************
  3345. *** Nested WHILEs ***
  3346. Each array variable should be equal to the sum of its indices:
  3347. ${test00}[0] = 0
  3348. ${test00}[1] = 1
  3349. ${test00}[2] = 2
  3350. ${test01}[0] = 1
  3351. ${test01}[1] = 2
  3352. ${test01}[2] = 3
  3353. ${test02}[0] = 2
  3354. ${test02}[1] = 3
  3355. ${test02}[2] = 4
  3356. ${test10}[0] = 1
  3357. ${test10}[1] = 2
  3358. ${test10}[2] = 3
  3359. ${test11}[0] = 2
  3360. ${test11}[1] = 3
  3361. ${test11}[2] = 4
  3362. ${test12}[0] = 3
  3363. ${test12}[1] = 4
  3364. ${test12}[2] = 5
  3365. ${test20}[0] = 2
  3366. ${test20}[1] = 3
  3367. ${test20}[2] = 4
  3368. ${test21}[0] = 3
  3369. ${test21}[1] = 4
  3370. ${test21}[2] = 5
  3371. ${test22}[0] = 4
  3372. ${test22}[1] = 5
  3373. ${test22}[2] = 6
  3374. *********************
  3375. *** hash test... ***
  3376. commented out...
  3377. **************************
  3378. *** Hash resizing test ***
  3379. ba
  3380. baa
  3381. baaa
  3382. baaaa
  3383. baaaaa
  3384. baaaaaa
  3385. baaaaaaa
  3386. baaaaaaaa
  3387. baaaaaaaaa
  3388. baaaaaaaaaa
  3389. ba
  3390. 10
  3391. baa
  3392. 9
  3393. baaa
  3394. 8
  3395. baaaa
  3396. 7
  3397. baaaaa
  3398. 6
  3399. baaaaaa
  3400. 5
  3401. baaaaaaa
  3402. 4
  3403. baaaaaaaa
  3404. 3
  3405. baaaaaaaaa
  3406. 2
  3407. baaaaaaaaaa
  3408. 1
  3409. **************************
  3410. *** break/continue test ***
  3411. $i should go from 0 to 2
  3412. $j should go from 3 to 4, and $q should go from 3 to 4
  3413. $j=3
  3414. $q=3
  3415. $q=4
  3416. $j=4
  3417. $q=3
  3418. $q=4
  3419. $j should go from 0 to 2
  3420. $j=0
  3421. $j=1
  3422. $j=2
  3423. $k should go from 0 to 2
  3424. $k=0
  3425. $k=1
  3426. $k=2
  3427. $i=0
  3428. $j should go from 3 to 4, and $q should go from 3 to 4
  3429. $j=3
  3430. $q=3
  3431. $q=4
  3432. $j=4
  3433. $q=3
  3434. $q=4
  3435. $j should go from 0 to 2
  3436. $j=0
  3437. $j=1
  3438. $j=2
  3439. $k should go from 0 to 2
  3440. $k=0
  3441. $k=1
  3442. $k=2
  3443. $i=1
  3444. $j should go from 3 to 4, and $q should go from 3 to 4
  3445. $j=3
  3446. $q=3
  3447. $q=4
  3448. $j=4
  3449. $q=3
  3450. $q=4
  3451. $j should go from 0 to 2
  3452. $j=0
  3453. $j=1
  3454. $j=2
  3455. $k should go from 0 to 2
  3456. $k=0
  3457. $k=1
  3458. $k=2
  3459. $i=2
  3460. ***********************
  3461. *** Nested file include test ***
  3462. <html>
  3463. This is Finish.phtml. This file is supposed to be included
  3464. from regression_test.phtml. This is normal HTML.
  3465. and this is PHP code, 2+2=4
  3466. </html>
  3467. ********************************
  3468. Tests completed.
  3469. <html>
  3470. <head>
  3471. *** Testing assignments and variable aliasing: ***
  3472. This should read "blah": blah
  3473. This should read "this is nifty": this is nifty
  3474. *************************************************
  3475. *** Testing integer operators ***
  3476. Correct result - 8: 8
  3477. Correct result - 8: 8
  3478. Correct result - 2: 2
  3479. Correct result - -2: -2
  3480. Correct result - 15: 15
  3481. Correct result - 15: 15
  3482. Correct result - 2: 2
  3483. Correct result - 3: 3
  3484. *********************************
  3485. *** Testing real operators ***
  3486. Correct result - 8: 8
  3487. Correct result - 8: 8
  3488. Correct result - 2: 2
  3489. Correct result - -2: -2
  3490. Correct result - 15: 15
  3491. Correct result - 15: 15
  3492. Correct result - 2: 2
  3493. Correct result - 3: 3
  3494. *********************************
  3495. *** Testing if/elseif/else control ***
  3496. This works
  3497. this_still_works
  3498. should_print
  3499. *** Seriously nested if's test ***
  3500. ** spelling correction by kluzz **
  3501. Only two lines of text should follow:
  3502. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  3503. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  3504. 3 loop iterations should follow:
  3505. 2 4
  3506. 3 4
  3507. 4 4
  3508. **********************************
  3509. *** C-style else-if's ***
  3510. This should be displayed
  3511. *************************
  3512. *** WHILE tests ***
  3513. 0 is smaller than 20
  3514. 1 is smaller than 20
  3515. 2 is smaller than 20
  3516. 3 is smaller than 20
  3517. 4 is smaller than 20
  3518. 5 is smaller than 20
  3519. 6 is smaller than 20
  3520. 7 is smaller than 20
  3521. 8 is smaller than 20
  3522. 9 is smaller than 20
  3523. 10 is smaller than 20
  3524. 11 is smaller than 20
  3525. 12 is smaller than 20
  3526. 13 is smaller than 20
  3527. 14 is smaller than 20
  3528. 15 is smaller than 20
  3529. 16 is smaller than 20
  3530. 17 is smaller than 20
  3531. 18 is smaller than 20
  3532. 19 is smaller than 20
  3533. 20 equals 20
  3534. 21 is greater than 20
  3535. 22 is greater than 20
  3536. 23 is greater than 20
  3537. 24 is greater than 20
  3538. 25 is greater than 20
  3539. 26 is greater than 20
  3540. 27 is greater than 20
  3541. 28 is greater than 20
  3542. 29 is greater than 20
  3543. 30 is greater than 20
  3544. 31 is greater than 20
  3545. 32 is greater than 20
  3546. 33 is greater than 20
  3547. 34 is greater than 20
  3548. 35 is greater than 20
  3549. 36 is greater than 20
  3550. 37 is greater than 20
  3551. 38 is greater than 20
  3552. 39 is greater than 20
  3553. *******************
  3554. *** Nested WHILEs ***
  3555. Each array variable should be equal to the sum of its indices:
  3556. ${test00}[0] = 0
  3557. ${test00}[1] = 1
  3558. ${test00}[2] = 2
  3559. ${test01}[0] = 1
  3560. ${test01}[1] = 2
  3561. ${test01}[2] = 3
  3562. ${test02}[0] = 2
  3563. ${test02}[1] = 3
  3564. ${test02}[2] = 4
  3565. ${test10}[0] = 1
  3566. ${test10}[1] = 2
  3567. ${test10}[2] = 3
  3568. ${test11}[0] = 2
  3569. ${test11}[1] = 3
  3570. ${test11}[2] = 4
  3571. ${test12}[0] = 3
  3572. ${test12}[1] = 4
  3573. ${test12}[2] = 5
  3574. ${test20}[0] = 2
  3575. ${test20}[1] = 3
  3576. ${test20}[2] = 4
  3577. ${test21}[0] = 3
  3578. ${test21}[1] = 4
  3579. ${test21}[2] = 5
  3580. ${test22}[0] = 4
  3581. ${test22}[1] = 5
  3582. ${test22}[2] = 6
  3583. *********************
  3584. *** hash test... ***
  3585. commented out...
  3586. **************************
  3587. *** Hash resizing test ***
  3588. ba
  3589. baa
  3590. baaa
  3591. baaaa
  3592. baaaaa
  3593. baaaaaa
  3594. baaaaaaa
  3595. baaaaaaaa
  3596. baaaaaaaaa
  3597. baaaaaaaaaa
  3598. ba
  3599. 10
  3600. baa
  3601. 9
  3602. baaa
  3603. 8
  3604. baaaa
  3605. 7
  3606. baaaaa
  3607. 6
  3608. baaaaaa
  3609. 5
  3610. baaaaaaa
  3611. 4
  3612. baaaaaaaa
  3613. 3
  3614. baaaaaaaaa
  3615. 2
  3616. baaaaaaaaaa
  3617. 1
  3618. **************************
  3619. *** break/continue test ***
  3620. $i should go from 0 to 2
  3621. $j should go from 3 to 4, and $q should go from 3 to 4
  3622. $j=3
  3623. $q=3
  3624. $q=4
  3625. $j=4
  3626. $q=3
  3627. $q=4
  3628. $j should go from 0 to 2
  3629. $j=0
  3630. $j=1
  3631. $j=2
  3632. $k should go from 0 to 2
  3633. $k=0
  3634. $k=1
  3635. $k=2
  3636. $i=0
  3637. $j should go from 3 to 4, and $q should go from 3 to 4
  3638. $j=3
  3639. $q=3
  3640. $q=4
  3641. $j=4
  3642. $q=3
  3643. $q=4
  3644. $j should go from 0 to 2
  3645. $j=0
  3646. $j=1
  3647. $j=2
  3648. $k should go from 0 to 2
  3649. $k=0
  3650. $k=1
  3651. $k=2
  3652. $i=1
  3653. $j should go from 3 to 4, and $q should go from 3 to 4
  3654. $j=3
  3655. $q=3
  3656. $q=4
  3657. $j=4
  3658. $q=3
  3659. $q=4
  3660. $j should go from 0 to 2
  3661. $j=0
  3662. $j=1
  3663. $j=2
  3664. $k should go from 0 to 2
  3665. $k=0
  3666. $k=1
  3667. $k=2
  3668. $i=2
  3669. ***********************
  3670. *** Nested file include test ***
  3671. <html>
  3672. This is Finish.phtml. This file is supposed to be included
  3673. from regression_test.phtml. This is normal HTML.
  3674. and this is PHP code, 2+2=4
  3675. </html>
  3676. ********************************
  3677. Tests completed.
  3678. <html>
  3679. <head>
  3680. *** Testing assignments and variable aliasing: ***
  3681. This should read "blah": blah
  3682. This should read "this is nifty": this is nifty
  3683. *************************************************
  3684. *** Testing integer operators ***
  3685. Correct result - 8: 8
  3686. Correct result - 8: 8
  3687. Correct result - 2: 2
  3688. Correct result - -2: -2
  3689. Correct result - 15: 15
  3690. Correct result - 15: 15
  3691. Correct result - 2: 2
  3692. Correct result - 3: 3
  3693. *********************************
  3694. *** Testing real operators ***
  3695. Correct result - 8: 8
  3696. Correct result - 8: 8
  3697. Correct result - 2: 2
  3698. Correct result - -2: -2
  3699. Correct result - 15: 15
  3700. Correct result - 15: 15
  3701. Correct result - 2: 2
  3702. Correct result - 3: 3
  3703. *********************************
  3704. *** Testing if/elseif/else control ***
  3705. This works
  3706. this_still_works
  3707. should_print
  3708. *** Seriously nested if's test ***
  3709. ** spelling correction by kluzz **
  3710. Only two lines of text should follow:
  3711. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  3712. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  3713. 3 loop iterations should follow:
  3714. 2 4
  3715. 3 4
  3716. 4 4
  3717. **********************************
  3718. *** C-style else-if's ***
  3719. This should be displayed
  3720. *************************
  3721. *** WHILE tests ***
  3722. 0 is smaller than 20
  3723. 1 is smaller than 20
  3724. 2 is smaller than 20
  3725. 3 is smaller than 20
  3726. 4 is smaller than 20
  3727. 5 is smaller than 20
  3728. 6 is smaller than 20
  3729. 7 is smaller than 20
  3730. 8 is smaller than 20
  3731. 9 is smaller than 20
  3732. 10 is smaller than 20
  3733. 11 is smaller than 20
  3734. 12 is smaller than 20
  3735. 13 is smaller than 20
  3736. 14 is smaller than 20
  3737. 15 is smaller than 20
  3738. 16 is smaller than 20
  3739. 17 is smaller than 20
  3740. 18 is smaller than 20
  3741. 19 is smaller than 20
  3742. 20 equals 20
  3743. 21 is greater than 20
  3744. 22 is greater than 20
  3745. 23 is greater than 20
  3746. 24 is greater than 20
  3747. 25 is greater than 20
  3748. 26 is greater than 20
  3749. 27 is greater than 20
  3750. 28 is greater than 20
  3751. 29 is greater than 20
  3752. 30 is greater than 20
  3753. 31 is greater than 20
  3754. 32 is greater than 20
  3755. 33 is greater than 20
  3756. 34 is greater than 20
  3757. 35 is greater than 20
  3758. 36 is greater than 20
  3759. 37 is greater than 20
  3760. 38 is greater than 20
  3761. 39 is greater than 20
  3762. *******************
  3763. *** Nested WHILEs ***
  3764. Each array variable should be equal to the sum of its indices:
  3765. ${test00}[0] = 0
  3766. ${test00}[1] = 1
  3767. ${test00}[2] = 2
  3768. ${test01}[0] = 1
  3769. ${test01}[1] = 2
  3770. ${test01}[2] = 3
  3771. ${test02}[0] = 2
  3772. ${test02}[1] = 3
  3773. ${test02}[2] = 4
  3774. ${test10}[0] = 1
  3775. ${test10}[1] = 2
  3776. ${test10}[2] = 3
  3777. ${test11}[0] = 2
  3778. ${test11}[1] = 3
  3779. ${test11}[2] = 4
  3780. ${test12}[0] = 3
  3781. ${test12}[1] = 4
  3782. ${test12}[2] = 5
  3783. ${test20}[0] = 2
  3784. ${test20}[1] = 3
  3785. ${test20}[2] = 4
  3786. ${test21}[0] = 3
  3787. ${test21}[1] = 4
  3788. ${test21}[2] = 5
  3789. ${test22}[0] = 4
  3790. ${test22}[1] = 5
  3791. ${test22}[2] = 6
  3792. *********************
  3793. *** hash test... ***
  3794. commented out...
  3795. **************************
  3796. *** Hash resizing test ***
  3797. ba
  3798. baa
  3799. baaa
  3800. baaaa
  3801. baaaaa
  3802. baaaaaa
  3803. baaaaaaa
  3804. baaaaaaaa
  3805. baaaaaaaaa
  3806. baaaaaaaaaa
  3807. ba
  3808. 10
  3809. baa
  3810. 9
  3811. baaa
  3812. 8
  3813. baaaa
  3814. 7
  3815. baaaaa
  3816. 6
  3817. baaaaaa
  3818. 5
  3819. baaaaaaa
  3820. 4
  3821. baaaaaaaa
  3822. 3
  3823. baaaaaaaaa
  3824. 2
  3825. baaaaaaaaaa
  3826. 1
  3827. **************************
  3828. *** break/continue test ***
  3829. $i should go from 0 to 2
  3830. $j should go from 3 to 4, and $q should go from 3 to 4
  3831. $j=3
  3832. $q=3
  3833. $q=4
  3834. $j=4
  3835. $q=3
  3836. $q=4
  3837. $j should go from 0 to 2
  3838. $j=0
  3839. $j=1
  3840. $j=2
  3841. $k should go from 0 to 2
  3842. $k=0
  3843. $k=1
  3844. $k=2
  3845. $i=0
  3846. $j should go from 3 to 4, and $q should go from 3 to 4
  3847. $j=3
  3848. $q=3
  3849. $q=4
  3850. $j=4
  3851. $q=3
  3852. $q=4
  3853. $j should go from 0 to 2
  3854. $j=0
  3855. $j=1
  3856. $j=2
  3857. $k should go from 0 to 2
  3858. $k=0
  3859. $k=1
  3860. $k=2
  3861. $i=1
  3862. $j should go from 3 to 4, and $q should go from 3 to 4
  3863. $j=3
  3864. $q=3
  3865. $q=4
  3866. $j=4
  3867. $q=3
  3868. $q=4
  3869. $j should go from 0 to 2
  3870. $j=0
  3871. $j=1
  3872. $j=2
  3873. $k should go from 0 to 2
  3874. $k=0
  3875. $k=1
  3876. $k=2
  3877. $i=2
  3878. ***********************
  3879. *** Nested file include test ***
  3880. <html>
  3881. This is Finish.phtml. This file is supposed to be included
  3882. from regression_test.phtml. This is normal HTML.
  3883. and this is PHP code, 2+2=4
  3884. </html>
  3885. ********************************
  3886. Tests completed.
  3887. <html>
  3888. <head>
  3889. *** Testing assignments and variable aliasing: ***
  3890. This should read "blah": blah
  3891. This should read "this is nifty": this is nifty
  3892. *************************************************
  3893. *** Testing integer operators ***
  3894. Correct result - 8: 8
  3895. Correct result - 8: 8
  3896. Correct result - 2: 2
  3897. Correct result - -2: -2
  3898. Correct result - 15: 15
  3899. Correct result - 15: 15
  3900. Correct result - 2: 2
  3901. Correct result - 3: 3
  3902. *********************************
  3903. *** Testing real operators ***
  3904. Correct result - 8: 8
  3905. Correct result - 8: 8
  3906. Correct result - 2: 2
  3907. Correct result - -2: -2
  3908. Correct result - 15: 15
  3909. Correct result - 15: 15
  3910. Correct result - 2: 2
  3911. Correct result - 3: 3
  3912. *********************************
  3913. *** Testing if/elseif/else control ***
  3914. This works
  3915. this_still_works
  3916. should_print
  3917. *** Seriously nested if's test ***
  3918. ** spelling correction by kluzz **
  3919. Only two lines of text should follow:
  3920. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  3921. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  3922. 3 loop iterations should follow:
  3923. 2 4
  3924. 3 4
  3925. 4 4
  3926. **********************************
  3927. *** C-style else-if's ***
  3928. This should be displayed
  3929. *************************
  3930. *** WHILE tests ***
  3931. 0 is smaller than 20
  3932. 1 is smaller than 20
  3933. 2 is smaller than 20
  3934. 3 is smaller than 20
  3935. 4 is smaller than 20
  3936. 5 is smaller than 20
  3937. 6 is smaller than 20
  3938. 7 is smaller than 20
  3939. 8 is smaller than 20
  3940. 9 is smaller than 20
  3941. 10 is smaller than 20
  3942. 11 is smaller than 20
  3943. 12 is smaller than 20
  3944. 13 is smaller than 20
  3945. 14 is smaller than 20
  3946. 15 is smaller than 20
  3947. 16 is smaller than 20
  3948. 17 is smaller than 20
  3949. 18 is smaller than 20
  3950. 19 is smaller than 20
  3951. 20 equals 20
  3952. 21 is greater than 20
  3953. 22 is greater than 20
  3954. 23 is greater than 20
  3955. 24 is greater than 20
  3956. 25 is greater than 20
  3957. 26 is greater than 20
  3958. 27 is greater than 20
  3959. 28 is greater than 20
  3960. 29 is greater than 20
  3961. 30 is greater than 20
  3962. 31 is greater than 20
  3963. 32 is greater than 20
  3964. 33 is greater than 20
  3965. 34 is greater than 20
  3966. 35 is greater than 20
  3967. 36 is greater than 20
  3968. 37 is greater than 20
  3969. 38 is greater than 20
  3970. 39 is greater than 20
  3971. *******************
  3972. *** Nested WHILEs ***
  3973. Each array variable should be equal to the sum of its indices:
  3974. ${test00}[0] = 0
  3975. ${test00}[1] = 1
  3976. ${test00}[2] = 2
  3977. ${test01}[0] = 1
  3978. ${test01}[1] = 2
  3979. ${test01}[2] = 3
  3980. ${test02}[0] = 2
  3981. ${test02}[1] = 3
  3982. ${test02}[2] = 4
  3983. ${test10}[0] = 1
  3984. ${test10}[1] = 2
  3985. ${test10}[2] = 3
  3986. ${test11}[0] = 2
  3987. ${test11}[1] = 3
  3988. ${test11}[2] = 4
  3989. ${test12}[0] = 3
  3990. ${test12}[1] = 4
  3991. ${test12}[2] = 5
  3992. ${test20}[0] = 2
  3993. ${test20}[1] = 3
  3994. ${test20}[2] = 4
  3995. ${test21}[0] = 3
  3996. ${test21}[1] = 4
  3997. ${test21}[2] = 5
  3998. ${test22}[0] = 4
  3999. ${test22}[1] = 5
  4000. ${test22}[2] = 6
  4001. *********************
  4002. *** hash test... ***
  4003. commented out...
  4004. **************************
  4005. *** Hash resizing test ***
  4006. ba
  4007. baa
  4008. baaa
  4009. baaaa
  4010. baaaaa
  4011. baaaaaa
  4012. baaaaaaa
  4013. baaaaaaaa
  4014. baaaaaaaaa
  4015. baaaaaaaaaa
  4016. ba
  4017. 10
  4018. baa
  4019. 9
  4020. baaa
  4021. 8
  4022. baaaa
  4023. 7
  4024. baaaaa
  4025. 6
  4026. baaaaaa
  4027. 5
  4028. baaaaaaa
  4029. 4
  4030. baaaaaaaa
  4031. 3
  4032. baaaaaaaaa
  4033. 2
  4034. baaaaaaaaaa
  4035. 1
  4036. **************************
  4037. *** break/continue test ***
  4038. $i should go from 0 to 2
  4039. $j should go from 3 to 4, and $q should go from 3 to 4
  4040. $j=3
  4041. $q=3
  4042. $q=4
  4043. $j=4
  4044. $q=3
  4045. $q=4
  4046. $j should go from 0 to 2
  4047. $j=0
  4048. $j=1
  4049. $j=2
  4050. $k should go from 0 to 2
  4051. $k=0
  4052. $k=1
  4053. $k=2
  4054. $i=0
  4055. $j should go from 3 to 4, and $q should go from 3 to 4
  4056. $j=3
  4057. $q=3
  4058. $q=4
  4059. $j=4
  4060. $q=3
  4061. $q=4
  4062. $j should go from 0 to 2
  4063. $j=0
  4064. $j=1
  4065. $j=2
  4066. $k should go from 0 to 2
  4067. $k=0
  4068. $k=1
  4069. $k=2
  4070. $i=1
  4071. $j should go from 3 to 4, and $q should go from 3 to 4
  4072. $j=3
  4073. $q=3
  4074. $q=4
  4075. $j=4
  4076. $q=3
  4077. $q=4
  4078. $j should go from 0 to 2
  4079. $j=0
  4080. $j=1
  4081. $j=2
  4082. $k should go from 0 to 2
  4083. $k=0
  4084. $k=1
  4085. $k=2
  4086. $i=2
  4087. ***********************
  4088. *** Nested file include test ***
  4089. <html>
  4090. This is Finish.phtml. This file is supposed to be included
  4091. from regression_test.phtml. This is normal HTML.
  4092. and this is PHP code, 2+2=4
  4093. </html>
  4094. ********************************
  4095. Tests completed.
  4096. <html>
  4097. <head>
  4098. *** Testing assignments and variable aliasing: ***
  4099. This should read "blah": blah
  4100. This should read "this is nifty": this is nifty
  4101. *************************************************
  4102. *** Testing integer operators ***
  4103. Correct result - 8: 8
  4104. Correct result - 8: 8
  4105. Correct result - 2: 2
  4106. Correct result - -2: -2
  4107. Correct result - 15: 15
  4108. Correct result - 15: 15
  4109. Correct result - 2: 2
  4110. Correct result - 3: 3
  4111. *********************************
  4112. *** Testing real operators ***
  4113. Correct result - 8: 8
  4114. Correct result - 8: 8
  4115. Correct result - 2: 2
  4116. Correct result - -2: -2
  4117. Correct result - 15: 15
  4118. Correct result - 15: 15
  4119. Correct result - 2: 2
  4120. Correct result - 3: 3
  4121. *********************************
  4122. *** Testing if/elseif/else control ***
  4123. This works
  4124. this_still_works
  4125. should_print
  4126. *** Seriously nested if's test ***
  4127. ** spelling correction by kluzz **
  4128. Only two lines of text should follow:
  4129. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  4130. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  4131. 3 loop iterations should follow:
  4132. 2 4
  4133. 3 4
  4134. 4 4
  4135. **********************************
  4136. *** C-style else-if's ***
  4137. This should be displayed
  4138. *************************
  4139. *** WHILE tests ***
  4140. 0 is smaller than 20
  4141. 1 is smaller than 20
  4142. 2 is smaller than 20
  4143. 3 is smaller than 20
  4144. 4 is smaller than 20
  4145. 5 is smaller than 20
  4146. 6 is smaller than 20
  4147. 7 is smaller than 20
  4148. 8 is smaller than 20
  4149. 9 is smaller than 20
  4150. 10 is smaller than 20
  4151. 11 is smaller than 20
  4152. 12 is smaller than 20
  4153. 13 is smaller than 20
  4154. 14 is smaller than 20
  4155. 15 is smaller than 20
  4156. 16 is smaller than 20
  4157. 17 is smaller than 20
  4158. 18 is smaller than 20
  4159. 19 is smaller than 20
  4160. 20 equals 20
  4161. 21 is greater than 20
  4162. 22 is greater than 20
  4163. 23 is greater than 20
  4164. 24 is greater than 20
  4165. 25 is greater than 20
  4166. 26 is greater than 20
  4167. 27 is greater than 20
  4168. 28 is greater than 20
  4169. 29 is greater than 20
  4170. 30 is greater than 20
  4171. 31 is greater than 20
  4172. 32 is greater than 20
  4173. 33 is greater than 20
  4174. 34 is greater than 20
  4175. 35 is greater than 20
  4176. 36 is greater than 20
  4177. 37 is greater than 20
  4178. 38 is greater than 20
  4179. 39 is greater than 20
  4180. *******************
  4181. *** Nested WHILEs ***
  4182. Each array variable should be equal to the sum of its indices:
  4183. ${test00}[0] = 0
  4184. ${test00}[1] = 1
  4185. ${test00}[2] = 2
  4186. ${test01}[0] = 1
  4187. ${test01}[1] = 2
  4188. ${test01}[2] = 3
  4189. ${test02}[0] = 2
  4190. ${test02}[1] = 3
  4191. ${test02}[2] = 4
  4192. ${test10}[0] = 1
  4193. ${test10}[1] = 2
  4194. ${test10}[2] = 3
  4195. ${test11}[0] = 2
  4196. ${test11}[1] = 3
  4197. ${test11}[2] = 4
  4198. ${test12}[0] = 3
  4199. ${test12}[1] = 4
  4200. ${test12}[2] = 5
  4201. ${test20}[0] = 2
  4202. ${test20}[1] = 3
  4203. ${test20}[2] = 4
  4204. ${test21}[0] = 3
  4205. ${test21}[1] = 4
  4206. ${test21}[2] = 5
  4207. ${test22}[0] = 4
  4208. ${test22}[1] = 5
  4209. ${test22}[2] = 6
  4210. *********************
  4211. *** hash test... ***
  4212. commented out...
  4213. **************************
  4214. *** Hash resizing test ***
  4215. ba
  4216. baa
  4217. baaa
  4218. baaaa
  4219. baaaaa
  4220. baaaaaa
  4221. baaaaaaa
  4222. baaaaaaaa
  4223. baaaaaaaaa
  4224. baaaaaaaaaa
  4225. ba
  4226. 10
  4227. baa
  4228. 9
  4229. baaa
  4230. 8
  4231. baaaa
  4232. 7
  4233. baaaaa
  4234. 6
  4235. baaaaaa
  4236. 5
  4237. baaaaaaa
  4238. 4
  4239. baaaaaaaa
  4240. 3
  4241. baaaaaaaaa
  4242. 2
  4243. baaaaaaaaaa
  4244. 1
  4245. **************************
  4246. *** break/continue test ***
  4247. $i should go from 0 to 2
  4248. $j should go from 3 to 4, and $q should go from 3 to 4
  4249. $j=3
  4250. $q=3
  4251. $q=4
  4252. $j=4
  4253. $q=3
  4254. $q=4
  4255. $j should go from 0 to 2
  4256. $j=0
  4257. $j=1
  4258. $j=2
  4259. $k should go from 0 to 2
  4260. $k=0
  4261. $k=1
  4262. $k=2
  4263. $i=0
  4264. $j should go from 3 to 4, and $q should go from 3 to 4
  4265. $j=3
  4266. $q=3
  4267. $q=4
  4268. $j=4
  4269. $q=3
  4270. $q=4
  4271. $j should go from 0 to 2
  4272. $j=0
  4273. $j=1
  4274. $j=2
  4275. $k should go from 0 to 2
  4276. $k=0
  4277. $k=1
  4278. $k=2
  4279. $i=1
  4280. $j should go from 3 to 4, and $q should go from 3 to 4
  4281. $j=3
  4282. $q=3
  4283. $q=4
  4284. $j=4
  4285. $q=3
  4286. $q=4
  4287. $j should go from 0 to 2
  4288. $j=0
  4289. $j=1
  4290. $j=2
  4291. $k should go from 0 to 2
  4292. $k=0
  4293. $k=1
  4294. $k=2
  4295. $i=2
  4296. ***********************
  4297. *** Nested file include test ***
  4298. <html>
  4299. This is Finish.phtml. This file is supposed to be included
  4300. from regression_test.phtml. This is normal HTML.
  4301. and this is PHP code, 2+2=4
  4302. </html>
  4303. ********************************
  4304. Tests completed.
  4305. <html>
  4306. <head>
  4307. *** Testing assignments and variable aliasing: ***
  4308. This should read "blah": blah
  4309. This should read "this is nifty": this is nifty
  4310. *************************************************
  4311. *** Testing integer operators ***
  4312. Correct result - 8: 8
  4313. Correct result - 8: 8
  4314. Correct result - 2: 2
  4315. Correct result - -2: -2
  4316. Correct result - 15: 15
  4317. Correct result - 15: 15
  4318. Correct result - 2: 2
  4319. Correct result - 3: 3
  4320. *********************************
  4321. *** Testing real operators ***
  4322. Correct result - 8: 8
  4323. Correct result - 8: 8
  4324. Correct result - 2: 2
  4325. Correct result - -2: -2
  4326. Correct result - 15: 15
  4327. Correct result - 15: 15
  4328. Correct result - 2: 2
  4329. Correct result - 3: 3
  4330. *********************************
  4331. *** Testing if/elseif/else control ***
  4332. This works
  4333. this_still_works
  4334. should_print
  4335. *** Seriously nested if's test ***
  4336. ** spelling correction by kluzz **
  4337. Only two lines of text should follow:
  4338. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  4339. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  4340. 3 loop iterations should follow:
  4341. 2 4
  4342. 3 4
  4343. 4 4
  4344. **********************************
  4345. *** C-style else-if's ***
  4346. This should be displayed
  4347. *************************
  4348. *** WHILE tests ***
  4349. 0 is smaller than 20
  4350. 1 is smaller than 20
  4351. 2 is smaller than 20
  4352. 3 is smaller than 20
  4353. 4 is smaller than 20
  4354. 5 is smaller than 20
  4355. 6 is smaller than 20
  4356. 7 is smaller than 20
  4357. 8 is smaller than 20
  4358. 9 is smaller than 20
  4359. 10 is smaller than 20
  4360. 11 is smaller than 20
  4361. 12 is smaller than 20
  4362. 13 is smaller than 20
  4363. 14 is smaller than 20
  4364. 15 is smaller than 20
  4365. 16 is smaller than 20
  4366. 17 is smaller than 20
  4367. 18 is smaller than 20
  4368. 19 is smaller than 20
  4369. 20 equals 20
  4370. 21 is greater than 20
  4371. 22 is greater than 20
  4372. 23 is greater than 20
  4373. 24 is greater than 20
  4374. 25 is greater than 20
  4375. 26 is greater than 20
  4376. 27 is greater than 20
  4377. 28 is greater than 20
  4378. 29 is greater than 20
  4379. 30 is greater than 20
  4380. 31 is greater than 20
  4381. 32 is greater than 20
  4382. 33 is greater than 20
  4383. 34 is greater than 20
  4384. 35 is greater than 20
  4385. 36 is greater than 20
  4386. 37 is greater than 20
  4387. 38 is greater than 20
  4388. 39 is greater than 20
  4389. *******************
  4390. *** Nested WHILEs ***
  4391. Each array variable should be equal to the sum of its indices:
  4392. ${test00}[0] = 0
  4393. ${test00}[1] = 1
  4394. ${test00}[2] = 2
  4395. ${test01}[0] = 1
  4396. ${test01}[1] = 2
  4397. ${test01}[2] = 3
  4398. ${test02}[0] = 2
  4399. ${test02}[1] = 3
  4400. ${test02}[2] = 4
  4401. ${test10}[0] = 1
  4402. ${test10}[1] = 2
  4403. ${test10}[2] = 3
  4404. ${test11}[0] = 2
  4405. ${test11}[1] = 3
  4406. ${test11}[2] = 4
  4407. ${test12}[0] = 3
  4408. ${test12}[1] = 4
  4409. ${test12}[2] = 5
  4410. ${test20}[0] = 2
  4411. ${test20}[1] = 3
  4412. ${test20}[2] = 4
  4413. ${test21}[0] = 3
  4414. ${test21}[1] = 4
  4415. ${test21}[2] = 5
  4416. ${test22}[0] = 4
  4417. ${test22}[1] = 5
  4418. ${test22}[2] = 6
  4419. *********************
  4420. *** hash test... ***
  4421. commented out...
  4422. **************************
  4423. *** Hash resizing test ***
  4424. ba
  4425. baa
  4426. baaa
  4427. baaaa
  4428. baaaaa
  4429. baaaaaa
  4430. baaaaaaa
  4431. baaaaaaaa
  4432. baaaaaaaaa
  4433. baaaaaaaaaa
  4434. ba
  4435. 10
  4436. baa
  4437. 9
  4438. baaa
  4439. 8
  4440. baaaa
  4441. 7
  4442. baaaaa
  4443. 6
  4444. baaaaaa
  4445. 5
  4446. baaaaaaa
  4447. 4
  4448. baaaaaaaa
  4449. 3
  4450. baaaaaaaaa
  4451. 2
  4452. baaaaaaaaaa
  4453. 1
  4454. **************************
  4455. *** break/continue test ***
  4456. $i should go from 0 to 2
  4457. $j should go from 3 to 4, and $q should go from 3 to 4
  4458. $j=3
  4459. $q=3
  4460. $q=4
  4461. $j=4
  4462. $q=3
  4463. $q=4
  4464. $j should go from 0 to 2
  4465. $j=0
  4466. $j=1
  4467. $j=2
  4468. $k should go from 0 to 2
  4469. $k=0
  4470. $k=1
  4471. $k=2
  4472. $i=0
  4473. $j should go from 3 to 4, and $q should go from 3 to 4
  4474. $j=3
  4475. $q=3
  4476. $q=4
  4477. $j=4
  4478. $q=3
  4479. $q=4
  4480. $j should go from 0 to 2
  4481. $j=0
  4482. $j=1
  4483. $j=2
  4484. $k should go from 0 to 2
  4485. $k=0
  4486. $k=1
  4487. $k=2
  4488. $i=1
  4489. $j should go from 3 to 4, and $q should go from 3 to 4
  4490. $j=3
  4491. $q=3
  4492. $q=4
  4493. $j=4
  4494. $q=3
  4495. $q=4
  4496. $j should go from 0 to 2
  4497. $j=0
  4498. $j=1
  4499. $j=2
  4500. $k should go from 0 to 2
  4501. $k=0
  4502. $k=1
  4503. $k=2
  4504. $i=2
  4505. ***********************
  4506. *** Nested file include test ***
  4507. <html>
  4508. This is Finish.phtml. This file is supposed to be included
  4509. from regression_test.phtml. This is normal HTML.
  4510. and this is PHP code, 2+2=4
  4511. </html>
  4512. ********************************
  4513. Tests completed.
  4514. <html>
  4515. <head>
  4516. *** Testing assignments and variable aliasing: ***
  4517. This should read "blah": blah
  4518. This should read "this is nifty": this is nifty
  4519. *************************************************
  4520. *** Testing integer operators ***
  4521. Correct result - 8: 8
  4522. Correct result - 8: 8
  4523. Correct result - 2: 2
  4524. Correct result - -2: -2
  4525. Correct result - 15: 15
  4526. Correct result - 15: 15
  4527. Correct result - 2: 2
  4528. Correct result - 3: 3
  4529. *********************************
  4530. *** Testing real operators ***
  4531. Correct result - 8: 8
  4532. Correct result - 8: 8
  4533. Correct result - 2: 2
  4534. Correct result - -2: -2
  4535. Correct result - 15: 15
  4536. Correct result - 15: 15
  4537. Correct result - 2: 2
  4538. Correct result - 3: 3
  4539. *********************************
  4540. *** Testing if/elseif/else control ***
  4541. This works
  4542. this_still_works
  4543. should_print
  4544. *** Seriously nested if's test ***
  4545. ** spelling correction by kluzz **
  4546. Only two lines of text should follow:
  4547. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  4548. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  4549. 3 loop iterations should follow:
  4550. 2 4
  4551. 3 4
  4552. 4 4
  4553. **********************************
  4554. *** C-style else-if's ***
  4555. This should be displayed
  4556. *************************
  4557. *** WHILE tests ***
  4558. 0 is smaller than 20
  4559. 1 is smaller than 20
  4560. 2 is smaller than 20
  4561. 3 is smaller than 20
  4562. 4 is smaller than 20
  4563. 5 is smaller than 20
  4564. 6 is smaller than 20
  4565. 7 is smaller than 20
  4566. 8 is smaller than 20
  4567. 9 is smaller than 20
  4568. 10 is smaller than 20
  4569. 11 is smaller than 20
  4570. 12 is smaller than 20
  4571. 13 is smaller than 20
  4572. 14 is smaller than 20
  4573. 15 is smaller than 20
  4574. 16 is smaller than 20
  4575. 17 is smaller than 20
  4576. 18 is smaller than 20
  4577. 19 is smaller than 20
  4578. 20 equals 20
  4579. 21 is greater than 20
  4580. 22 is greater than 20
  4581. 23 is greater than 20
  4582. 24 is greater than 20
  4583. 25 is greater than 20
  4584. 26 is greater than 20
  4585. 27 is greater than 20
  4586. 28 is greater than 20
  4587. 29 is greater than 20
  4588. 30 is greater than 20
  4589. 31 is greater than 20
  4590. 32 is greater than 20
  4591. 33 is greater than 20
  4592. 34 is greater than 20
  4593. 35 is greater than 20
  4594. 36 is greater than 20
  4595. 37 is greater than 20
  4596. 38 is greater than 20
  4597. 39 is greater than 20
  4598. *******************
  4599. *** Nested WHILEs ***
  4600. Each array variable should be equal to the sum of its indices:
  4601. ${test00}[0] = 0
  4602. ${test00}[1] = 1
  4603. ${test00}[2] = 2
  4604. ${test01}[0] = 1
  4605. ${test01}[1] = 2
  4606. ${test01}[2] = 3
  4607. ${test02}[0] = 2
  4608. ${test02}[1] = 3
  4609. ${test02}[2] = 4
  4610. ${test10}[0] = 1
  4611. ${test10}[1] = 2
  4612. ${test10}[2] = 3
  4613. ${test11}[0] = 2
  4614. ${test11}[1] = 3
  4615. ${test11}[2] = 4
  4616. ${test12}[0] = 3
  4617. ${test12}[1] = 4
  4618. ${test12}[2] = 5
  4619. ${test20}[0] = 2
  4620. ${test20}[1] = 3
  4621. ${test20}[2] = 4
  4622. ${test21}[0] = 3
  4623. ${test21}[1] = 4
  4624. ${test21}[2] = 5
  4625. ${test22}[0] = 4
  4626. ${test22}[1] = 5
  4627. ${test22}[2] = 6
  4628. *********************
  4629. *** hash test... ***
  4630. commented out...
  4631. **************************
  4632. *** Hash resizing test ***
  4633. ba
  4634. baa
  4635. baaa
  4636. baaaa
  4637. baaaaa
  4638. baaaaaa
  4639. baaaaaaa
  4640. baaaaaaaa
  4641. baaaaaaaaa
  4642. baaaaaaaaaa
  4643. ba
  4644. 10
  4645. baa
  4646. 9
  4647. baaa
  4648. 8
  4649. baaaa
  4650. 7
  4651. baaaaa
  4652. 6
  4653. baaaaaa
  4654. 5
  4655. baaaaaaa
  4656. 4
  4657. baaaaaaaa
  4658. 3
  4659. baaaaaaaaa
  4660. 2
  4661. baaaaaaaaaa
  4662. 1
  4663. **************************
  4664. *** break/continue test ***
  4665. $i should go from 0 to 2
  4666. $j should go from 3 to 4, and $q should go from 3 to 4
  4667. $j=3
  4668. $q=3
  4669. $q=4
  4670. $j=4
  4671. $q=3
  4672. $q=4
  4673. $j should go from 0 to 2
  4674. $j=0
  4675. $j=1
  4676. $j=2
  4677. $k should go from 0 to 2
  4678. $k=0
  4679. $k=1
  4680. $k=2
  4681. $i=0
  4682. $j should go from 3 to 4, and $q should go from 3 to 4
  4683. $j=3
  4684. $q=3
  4685. $q=4
  4686. $j=4
  4687. $q=3
  4688. $q=4
  4689. $j should go from 0 to 2
  4690. $j=0
  4691. $j=1
  4692. $j=2
  4693. $k should go from 0 to 2
  4694. $k=0
  4695. $k=1
  4696. $k=2
  4697. $i=1
  4698. $j should go from 3 to 4, and $q should go from 3 to 4
  4699. $j=3
  4700. $q=3
  4701. $q=4
  4702. $j=4
  4703. $q=3
  4704. $q=4
  4705. $j should go from 0 to 2
  4706. $j=0
  4707. $j=1
  4708. $j=2
  4709. $k should go from 0 to 2
  4710. $k=0
  4711. $k=1
  4712. $k=2
  4713. $i=2
  4714. ***********************
  4715. *** Nested file include test ***
  4716. <html>
  4717. This is Finish.phtml. This file is supposed to be included
  4718. from regression_test.phtml. This is normal HTML.
  4719. and this is PHP code, 2+2=4
  4720. </html>
  4721. ********************************
  4722. Tests completed.
  4723. <html>
  4724. <head>
  4725. *** Testing assignments and variable aliasing: ***
  4726. This should read "blah": blah
  4727. This should read "this is nifty": this is nifty
  4728. *************************************************
  4729. *** Testing integer operators ***
  4730. Correct result - 8: 8
  4731. Correct result - 8: 8
  4732. Correct result - 2: 2
  4733. Correct result - -2: -2
  4734. Correct result - 15: 15
  4735. Correct result - 15: 15
  4736. Correct result - 2: 2
  4737. Correct result - 3: 3
  4738. *********************************
  4739. *** Testing real operators ***
  4740. Correct result - 8: 8
  4741. Correct result - 8: 8
  4742. Correct result - 2: 2
  4743. Correct result - -2: -2
  4744. Correct result - 15: 15
  4745. Correct result - 15: 15
  4746. Correct result - 2: 2
  4747. Correct result - 3: 3
  4748. *********************************
  4749. *** Testing if/elseif/else control ***
  4750. This works
  4751. this_still_works
  4752. should_print
  4753. *** Seriously nested if's test ***
  4754. ** spelling correction by kluzz **
  4755. Only two lines of text should follow:
  4756. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  4757. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  4758. 3 loop iterations should follow:
  4759. 2 4
  4760. 3 4
  4761. 4 4
  4762. **********************************
  4763. *** C-style else-if's ***
  4764. This should be displayed
  4765. *************************
  4766. *** WHILE tests ***
  4767. 0 is smaller than 20
  4768. 1 is smaller than 20
  4769. 2 is smaller than 20
  4770. 3 is smaller than 20
  4771. 4 is smaller than 20
  4772. 5 is smaller than 20
  4773. 6 is smaller than 20
  4774. 7 is smaller than 20
  4775. 8 is smaller than 20
  4776. 9 is smaller than 20
  4777. 10 is smaller than 20
  4778. 11 is smaller than 20
  4779. 12 is smaller than 20
  4780. 13 is smaller than 20
  4781. 14 is smaller than 20
  4782. 15 is smaller than 20
  4783. 16 is smaller than 20
  4784. 17 is smaller than 20
  4785. 18 is smaller than 20
  4786. 19 is smaller than 20
  4787. 20 equals 20
  4788. 21 is greater than 20
  4789. 22 is greater than 20
  4790. 23 is greater than 20
  4791. 24 is greater than 20
  4792. 25 is greater than 20
  4793. 26 is greater than 20
  4794. 27 is greater than 20
  4795. 28 is greater than 20
  4796. 29 is greater than 20
  4797. 30 is greater than 20
  4798. 31 is greater than 20
  4799. 32 is greater than 20
  4800. 33 is greater than 20
  4801. 34 is greater than 20
  4802. 35 is greater than 20
  4803. 36 is greater than 20
  4804. 37 is greater than 20
  4805. 38 is greater than 20
  4806. 39 is greater than 20
  4807. *******************
  4808. *** Nested WHILEs ***
  4809. Each array variable should be equal to the sum of its indices:
  4810. ${test00}[0] = 0
  4811. ${test00}[1] = 1
  4812. ${test00}[2] = 2
  4813. ${test01}[0] = 1
  4814. ${test01}[1] = 2
  4815. ${test01}[2] = 3
  4816. ${test02}[0] = 2
  4817. ${test02}[1] = 3
  4818. ${test02}[2] = 4
  4819. ${test10}[0] = 1
  4820. ${test10}[1] = 2
  4821. ${test10}[2] = 3
  4822. ${test11}[0] = 2
  4823. ${test11}[1] = 3
  4824. ${test11}[2] = 4
  4825. ${test12}[0] = 3
  4826. ${test12}[1] = 4
  4827. ${test12}[2] = 5
  4828. ${test20}[0] = 2
  4829. ${test20}[1] = 3
  4830. ${test20}[2] = 4
  4831. ${test21}[0] = 3
  4832. ${test21}[1] = 4
  4833. ${test21}[2] = 5
  4834. ${test22}[0] = 4
  4835. ${test22}[1] = 5
  4836. ${test22}[2] = 6
  4837. *********************
  4838. *** hash test... ***
  4839. commented out...
  4840. **************************
  4841. *** Hash resizing test ***
  4842. ba
  4843. baa
  4844. baaa
  4845. baaaa
  4846. baaaaa
  4847. baaaaaa
  4848. baaaaaaa
  4849. baaaaaaaa
  4850. baaaaaaaaa
  4851. baaaaaaaaaa
  4852. ba
  4853. 10
  4854. baa
  4855. 9
  4856. baaa
  4857. 8
  4858. baaaa
  4859. 7
  4860. baaaaa
  4861. 6
  4862. baaaaaa
  4863. 5
  4864. baaaaaaa
  4865. 4
  4866. baaaaaaaa
  4867. 3
  4868. baaaaaaaaa
  4869. 2
  4870. baaaaaaaaaa
  4871. 1
  4872. **************************
  4873. *** break/continue test ***
  4874. $i should go from 0 to 2
  4875. $j should go from 3 to 4, and $q should go from 3 to 4
  4876. $j=3
  4877. $q=3
  4878. $q=4
  4879. $j=4
  4880. $q=3
  4881. $q=4
  4882. $j should go from 0 to 2
  4883. $j=0
  4884. $j=1
  4885. $j=2
  4886. $k should go from 0 to 2
  4887. $k=0
  4888. $k=1
  4889. $k=2
  4890. $i=0
  4891. $j should go from 3 to 4, and $q should go from 3 to 4
  4892. $j=3
  4893. $q=3
  4894. $q=4
  4895. $j=4
  4896. $q=3
  4897. $q=4
  4898. $j should go from 0 to 2
  4899. $j=0
  4900. $j=1
  4901. $j=2
  4902. $k should go from 0 to 2
  4903. $k=0
  4904. $k=1
  4905. $k=2
  4906. $i=1
  4907. $j should go from 3 to 4, and $q should go from 3 to 4
  4908. $j=3
  4909. $q=3
  4910. $q=4
  4911. $j=4
  4912. $q=3
  4913. $q=4
  4914. $j should go from 0 to 2
  4915. $j=0
  4916. $j=1
  4917. $j=2
  4918. $k should go from 0 to 2
  4919. $k=0
  4920. $k=1
  4921. $k=2
  4922. $i=2
  4923. ***********************
  4924. *** Nested file include test ***
  4925. <html>
  4926. This is Finish.phtml. This file is supposed to be included
  4927. from regression_test.phtml. This is normal HTML.
  4928. and this is PHP code, 2+2=4
  4929. </html>
  4930. ********************************
  4931. Tests completed.
  4932. <html>
  4933. <head>
  4934. *** Testing assignments and variable aliasing: ***
  4935. This should read "blah": blah
  4936. This should read "this is nifty": this is nifty
  4937. *************************************************
  4938. *** Testing integer operators ***
  4939. Correct result - 8: 8
  4940. Correct result - 8: 8
  4941. Correct result - 2: 2
  4942. Correct result - -2: -2
  4943. Correct result - 15: 15
  4944. Correct result - 15: 15
  4945. Correct result - 2: 2
  4946. Correct result - 3: 3
  4947. *********************************
  4948. *** Testing real operators ***
  4949. Correct result - 8: 8
  4950. Correct result - 8: 8
  4951. Correct result - 2: 2
  4952. Correct result - -2: -2
  4953. Correct result - 15: 15
  4954. Correct result - 15: 15
  4955. Correct result - 2: 2
  4956. Correct result - 3: 3
  4957. *********************************
  4958. *** Testing if/elseif/else control ***
  4959. This works
  4960. this_still_works
  4961. should_print
  4962. *** Seriously nested if's test ***
  4963. ** spelling correction by kluzz **
  4964. Only two lines of text should follow:
  4965. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  4966. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  4967. 3 loop iterations should follow:
  4968. 2 4
  4969. 3 4
  4970. 4 4
  4971. **********************************
  4972. *** C-style else-if's ***
  4973. This should be displayed
  4974. *************************
  4975. *** WHILE tests ***
  4976. 0 is smaller than 20
  4977. 1 is smaller than 20
  4978. 2 is smaller than 20
  4979. 3 is smaller than 20
  4980. 4 is smaller than 20
  4981. 5 is smaller than 20
  4982. 6 is smaller than 20
  4983. 7 is smaller than 20
  4984. 8 is smaller than 20
  4985. 9 is smaller than 20
  4986. 10 is smaller than 20
  4987. 11 is smaller than 20
  4988. 12 is smaller than 20
  4989. 13 is smaller than 20
  4990. 14 is smaller than 20
  4991. 15 is smaller than 20
  4992. 16 is smaller than 20
  4993. 17 is smaller than 20
  4994. 18 is smaller than 20
  4995. 19 is smaller than 20
  4996. 20 equals 20
  4997. 21 is greater than 20
  4998. 22 is greater than 20
  4999. 23 is greater than 20
  5000. 24 is greater than 20
  5001. 25 is greater than 20
  5002. 26 is greater than 20
  5003. 27 is greater than 20
  5004. 28 is greater than 20
  5005. 29 is greater than 20
  5006. 30 is greater than 20
  5007. 31 is greater than 20
  5008. 32 is greater than 20
  5009. 33 is greater than 20
  5010. 34 is greater than 20
  5011. 35 is greater than 20
  5012. 36 is greater than 20
  5013. 37 is greater than 20
  5014. 38 is greater than 20
  5015. 39 is greater than 20
  5016. *******************
  5017. *** Nested WHILEs ***
  5018. Each array variable should be equal to the sum of its indices:
  5019. ${test00}[0] = 0
  5020. ${test00}[1] = 1
  5021. ${test00}[2] = 2
  5022. ${test01}[0] = 1
  5023. ${test01}[1] = 2
  5024. ${test01}[2] = 3
  5025. ${test02}[0] = 2
  5026. ${test02}[1] = 3
  5027. ${test02}[2] = 4
  5028. ${test10}[0] = 1
  5029. ${test10}[1] = 2
  5030. ${test10}[2] = 3
  5031. ${test11}[0] = 2
  5032. ${test11}[1] = 3
  5033. ${test11}[2] = 4
  5034. ${test12}[0] = 3
  5035. ${test12}[1] = 4
  5036. ${test12}[2] = 5
  5037. ${test20}[0] = 2
  5038. ${test20}[1] = 3
  5039. ${test20}[2] = 4
  5040. ${test21}[0] = 3
  5041. ${test21}[1] = 4
  5042. ${test21}[2] = 5
  5043. ${test22}[0] = 4
  5044. ${test22}[1] = 5
  5045. ${test22}[2] = 6
  5046. *********************
  5047. *** hash test... ***
  5048. commented out...
  5049. **************************
  5050. *** Hash resizing test ***
  5051. ba
  5052. baa
  5053. baaa
  5054. baaaa
  5055. baaaaa
  5056. baaaaaa
  5057. baaaaaaa
  5058. baaaaaaaa
  5059. baaaaaaaaa
  5060. baaaaaaaaaa
  5061. ba
  5062. 10
  5063. baa
  5064. 9
  5065. baaa
  5066. 8
  5067. baaaa
  5068. 7
  5069. baaaaa
  5070. 6
  5071. baaaaaa
  5072. 5
  5073. baaaaaaa
  5074. 4
  5075. baaaaaaaa
  5076. 3
  5077. baaaaaaaaa
  5078. 2
  5079. baaaaaaaaaa
  5080. 1
  5081. **************************
  5082. *** break/continue test ***
  5083. $i should go from 0 to 2
  5084. $j should go from 3 to 4, and $q should go from 3 to 4
  5085. $j=3
  5086. $q=3
  5087. $q=4
  5088. $j=4
  5089. $q=3
  5090. $q=4
  5091. $j should go from 0 to 2
  5092. $j=0
  5093. $j=1
  5094. $j=2
  5095. $k should go from 0 to 2
  5096. $k=0
  5097. $k=1
  5098. $k=2
  5099. $i=0
  5100. $j should go from 3 to 4, and $q should go from 3 to 4
  5101. $j=3
  5102. $q=3
  5103. $q=4
  5104. $j=4
  5105. $q=3
  5106. $q=4
  5107. $j should go from 0 to 2
  5108. $j=0
  5109. $j=1
  5110. $j=2
  5111. $k should go from 0 to 2
  5112. $k=0
  5113. $k=1
  5114. $k=2
  5115. $i=1
  5116. $j should go from 3 to 4, and $q should go from 3 to 4
  5117. $j=3
  5118. $q=3
  5119. $q=4
  5120. $j=4
  5121. $q=3
  5122. $q=4
  5123. $j should go from 0 to 2
  5124. $j=0
  5125. $j=1
  5126. $j=2
  5127. $k should go from 0 to 2
  5128. $k=0
  5129. $k=1
  5130. $k=2
  5131. $i=2
  5132. ***********************
  5133. *** Nested file include test ***
  5134. <html>
  5135. This is Finish.phtml. This file is supposed to be included
  5136. from regression_test.phtml. This is normal HTML.
  5137. and this is PHP code, 2+2=4
  5138. </html>
  5139. ********************************
  5140. Tests completed.
  5141. <html>
  5142. <head>
  5143. *** Testing assignments and variable aliasing: ***
  5144. This should read "blah": blah
  5145. This should read "this is nifty": this is nifty
  5146. *************************************************
  5147. *** Testing integer operators ***
  5148. Correct result - 8: 8
  5149. Correct result - 8: 8
  5150. Correct result - 2: 2
  5151. Correct result - -2: -2
  5152. Correct result - 15: 15
  5153. Correct result - 15: 15
  5154. Correct result - 2: 2
  5155. Correct result - 3: 3
  5156. *********************************
  5157. *** Testing real operators ***
  5158. Correct result - 8: 8
  5159. Correct result - 8: 8
  5160. Correct result - 2: 2
  5161. Correct result - -2: -2
  5162. Correct result - 15: 15
  5163. Correct result - 15: 15
  5164. Correct result - 2: 2
  5165. Correct result - 3: 3
  5166. *********************************
  5167. *** Testing if/elseif/else control ***
  5168. This works
  5169. this_still_works
  5170. should_print
  5171. *** Seriously nested if's test ***
  5172. ** spelling correction by kluzz **
  5173. Only two lines of text should follow:
  5174. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  5175. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  5176. 3 loop iterations should follow:
  5177. 2 4
  5178. 3 4
  5179. 4 4
  5180. **********************************
  5181. *** C-style else-if's ***
  5182. This should be displayed
  5183. *************************
  5184. *** WHILE tests ***
  5185. 0 is smaller than 20
  5186. 1 is smaller than 20
  5187. 2 is smaller than 20
  5188. 3 is smaller than 20
  5189. 4 is smaller than 20
  5190. 5 is smaller than 20
  5191. 6 is smaller than 20
  5192. 7 is smaller than 20
  5193. 8 is smaller than 20
  5194. 9 is smaller than 20
  5195. 10 is smaller than 20
  5196. 11 is smaller than 20
  5197. 12 is smaller than 20
  5198. 13 is smaller than 20
  5199. 14 is smaller than 20
  5200. 15 is smaller than 20
  5201. 16 is smaller than 20
  5202. 17 is smaller than 20
  5203. 18 is smaller than 20
  5204. 19 is smaller than 20
  5205. 20 equals 20
  5206. 21 is greater than 20
  5207. 22 is greater than 20
  5208. 23 is greater than 20
  5209. 24 is greater than 20
  5210. 25 is greater than 20
  5211. 26 is greater than 20
  5212. 27 is greater than 20
  5213. 28 is greater than 20
  5214. 29 is greater than 20
  5215. 30 is greater than 20
  5216. 31 is greater than 20
  5217. 32 is greater than 20
  5218. 33 is greater than 20
  5219. 34 is greater than 20
  5220. 35 is greater than 20
  5221. 36 is greater than 20
  5222. 37 is greater than 20
  5223. 38 is greater than 20
  5224. 39 is greater than 20
  5225. *******************
  5226. *** Nested WHILEs ***
  5227. Each array variable should be equal to the sum of its indices:
  5228. ${test00}[0] = 0
  5229. ${test00}[1] = 1
  5230. ${test00}[2] = 2
  5231. ${test01}[0] = 1
  5232. ${test01}[1] = 2
  5233. ${test01}[2] = 3
  5234. ${test02}[0] = 2
  5235. ${test02}[1] = 3
  5236. ${test02}[2] = 4
  5237. ${test10}[0] = 1
  5238. ${test10}[1] = 2
  5239. ${test10}[2] = 3
  5240. ${test11}[0] = 2
  5241. ${test11}[1] = 3
  5242. ${test11}[2] = 4
  5243. ${test12}[0] = 3
  5244. ${test12}[1] = 4
  5245. ${test12}[2] = 5
  5246. ${test20}[0] = 2
  5247. ${test20}[1] = 3
  5248. ${test20}[2] = 4
  5249. ${test21}[0] = 3
  5250. ${test21}[1] = 4
  5251. ${test21}[2] = 5
  5252. ${test22}[0] = 4
  5253. ${test22}[1] = 5
  5254. ${test22}[2] = 6
  5255. *********************
  5256. *** hash test... ***
  5257. commented out...
  5258. **************************
  5259. *** Hash resizing test ***
  5260. ba
  5261. baa
  5262. baaa
  5263. baaaa
  5264. baaaaa
  5265. baaaaaa
  5266. baaaaaaa
  5267. baaaaaaaa
  5268. baaaaaaaaa
  5269. baaaaaaaaaa
  5270. ba
  5271. 10
  5272. baa
  5273. 9
  5274. baaa
  5275. 8
  5276. baaaa
  5277. 7
  5278. baaaaa
  5279. 6
  5280. baaaaaa
  5281. 5
  5282. baaaaaaa
  5283. 4
  5284. baaaaaaaa
  5285. 3
  5286. baaaaaaaaa
  5287. 2
  5288. baaaaaaaaaa
  5289. 1
  5290. **************************
  5291. *** break/continue test ***
  5292. $i should go from 0 to 2
  5293. $j should go from 3 to 4, and $q should go from 3 to 4
  5294. $j=3
  5295. $q=3
  5296. $q=4
  5297. $j=4
  5298. $q=3
  5299. $q=4
  5300. $j should go from 0 to 2
  5301. $j=0
  5302. $j=1
  5303. $j=2
  5304. $k should go from 0 to 2
  5305. $k=0
  5306. $k=1
  5307. $k=2
  5308. $i=0
  5309. $j should go from 3 to 4, and $q should go from 3 to 4
  5310. $j=3
  5311. $q=3
  5312. $q=4
  5313. $j=4
  5314. $q=3
  5315. $q=4
  5316. $j should go from 0 to 2
  5317. $j=0
  5318. $j=1
  5319. $j=2
  5320. $k should go from 0 to 2
  5321. $k=0
  5322. $k=1
  5323. $k=2
  5324. $i=1
  5325. $j should go from 3 to 4, and $q should go from 3 to 4
  5326. $j=3
  5327. $q=3
  5328. $q=4
  5329. $j=4
  5330. $q=3
  5331. $q=4
  5332. $j should go from 0 to 2
  5333. $j=0
  5334. $j=1
  5335. $j=2
  5336. $k should go from 0 to 2
  5337. $k=0
  5338. $k=1
  5339. $k=2
  5340. $i=2
  5341. ***********************
  5342. *** Nested file include test ***
  5343. <html>
  5344. This is Finish.phtml. This file is supposed to be included
  5345. from regression_test.phtml. This is normal HTML.
  5346. and this is PHP code, 2+2=4
  5347. </html>
  5348. ********************************
  5349. Tests completed.
  5350. <html>
  5351. <head>
  5352. *** Testing assignments and variable aliasing: ***
  5353. This should read "blah": blah
  5354. This should read "this is nifty": this is nifty
  5355. *************************************************
  5356. *** Testing integer operators ***
  5357. Correct result - 8: 8
  5358. Correct result - 8: 8
  5359. Correct result - 2: 2
  5360. Correct result - -2: -2
  5361. Correct result - 15: 15
  5362. Correct result - 15: 15
  5363. Correct result - 2: 2
  5364. Correct result - 3: 3
  5365. *********************************
  5366. *** Testing real operators ***
  5367. Correct result - 8: 8
  5368. Correct result - 8: 8
  5369. Correct result - 2: 2
  5370. Correct result - -2: -2
  5371. Correct result - 15: 15
  5372. Correct result - 15: 15
  5373. Correct result - 2: 2
  5374. Correct result - 3: 3
  5375. *********************************
  5376. *** Testing if/elseif/else control ***
  5377. This works
  5378. this_still_works
  5379. should_print
  5380. *** Seriously nested if's test ***
  5381. ** spelling correction by kluzz **
  5382. Only two lines of text should follow:
  5383. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  5384. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  5385. 3 loop iterations should follow:
  5386. 2 4
  5387. 3 4
  5388. 4 4
  5389. **********************************
  5390. *** C-style else-if's ***
  5391. This should be displayed
  5392. *************************
  5393. *** WHILE tests ***
  5394. 0 is smaller than 20
  5395. 1 is smaller than 20
  5396. 2 is smaller than 20
  5397. 3 is smaller than 20
  5398. 4 is smaller than 20
  5399. 5 is smaller than 20
  5400. 6 is smaller than 20
  5401. 7 is smaller than 20
  5402. 8 is smaller than 20
  5403. 9 is smaller than 20
  5404. 10 is smaller than 20
  5405. 11 is smaller than 20
  5406. 12 is smaller than 20
  5407. 13 is smaller than 20
  5408. 14 is smaller than 20
  5409. 15 is smaller than 20
  5410. 16 is smaller than 20
  5411. 17 is smaller than 20
  5412. 18 is smaller than 20
  5413. 19 is smaller than 20
  5414. 20 equals 20
  5415. 21 is greater than 20
  5416. 22 is greater than 20
  5417. 23 is greater than 20
  5418. 24 is greater than 20
  5419. 25 is greater than 20
  5420. 26 is greater than 20
  5421. 27 is greater than 20
  5422. 28 is greater than 20
  5423. 29 is greater than 20
  5424. 30 is greater than 20
  5425. 31 is greater than 20
  5426. 32 is greater than 20
  5427. 33 is greater than 20
  5428. 34 is greater than 20
  5429. 35 is greater than 20
  5430. 36 is greater than 20
  5431. 37 is greater than 20
  5432. 38 is greater than 20
  5433. 39 is greater than 20
  5434. *******************
  5435. *** Nested WHILEs ***
  5436. Each array variable should be equal to the sum of its indices:
  5437. ${test00}[0] = 0
  5438. ${test00}[1] = 1
  5439. ${test00}[2] = 2
  5440. ${test01}[0] = 1
  5441. ${test01}[1] = 2
  5442. ${test01}[2] = 3
  5443. ${test02}[0] = 2
  5444. ${test02}[1] = 3
  5445. ${test02}[2] = 4
  5446. ${test10}[0] = 1
  5447. ${test10}[1] = 2
  5448. ${test10}[2] = 3
  5449. ${test11}[0] = 2
  5450. ${test11}[1] = 3
  5451. ${test11}[2] = 4
  5452. ${test12}[0] = 3
  5453. ${test12}[1] = 4
  5454. ${test12}[2] = 5
  5455. ${test20}[0] = 2
  5456. ${test20}[1] = 3
  5457. ${test20}[2] = 4
  5458. ${test21}[0] = 3
  5459. ${test21}[1] = 4
  5460. ${test21}[2] = 5
  5461. ${test22}[0] = 4
  5462. ${test22}[1] = 5
  5463. ${test22}[2] = 6
  5464. *********************
  5465. *** hash test... ***
  5466. commented out...
  5467. **************************
  5468. *** Hash resizing test ***
  5469. ba
  5470. baa
  5471. baaa
  5472. baaaa
  5473. baaaaa
  5474. baaaaaa
  5475. baaaaaaa
  5476. baaaaaaaa
  5477. baaaaaaaaa
  5478. baaaaaaaaaa
  5479. ba
  5480. 10
  5481. baa
  5482. 9
  5483. baaa
  5484. 8
  5485. baaaa
  5486. 7
  5487. baaaaa
  5488. 6
  5489. baaaaaa
  5490. 5
  5491. baaaaaaa
  5492. 4
  5493. baaaaaaaa
  5494. 3
  5495. baaaaaaaaa
  5496. 2
  5497. baaaaaaaaaa
  5498. 1
  5499. **************************
  5500. *** break/continue test ***
  5501. $i should go from 0 to 2
  5502. $j should go from 3 to 4, and $q should go from 3 to 4
  5503. $j=3
  5504. $q=3
  5505. $q=4
  5506. $j=4
  5507. $q=3
  5508. $q=4
  5509. $j should go from 0 to 2
  5510. $j=0
  5511. $j=1
  5512. $j=2
  5513. $k should go from 0 to 2
  5514. $k=0
  5515. $k=1
  5516. $k=2
  5517. $i=0
  5518. $j should go from 3 to 4, and $q should go from 3 to 4
  5519. $j=3
  5520. $q=3
  5521. $q=4
  5522. $j=4
  5523. $q=3
  5524. $q=4
  5525. $j should go from 0 to 2
  5526. $j=0
  5527. $j=1
  5528. $j=2
  5529. $k should go from 0 to 2
  5530. $k=0
  5531. $k=1
  5532. $k=2
  5533. $i=1
  5534. $j should go from 3 to 4, and $q should go from 3 to 4
  5535. $j=3
  5536. $q=3
  5537. $q=4
  5538. $j=4
  5539. $q=3
  5540. $q=4
  5541. $j should go from 0 to 2
  5542. $j=0
  5543. $j=1
  5544. $j=2
  5545. $k should go from 0 to 2
  5546. $k=0
  5547. $k=1
  5548. $k=2
  5549. $i=2
  5550. ***********************
  5551. *** Nested file include test ***
  5552. <html>
  5553. This is Finish.phtml. This file is supposed to be included
  5554. from regression_test.phtml. This is normal HTML.
  5555. and this is PHP code, 2+2=4
  5556. </html>
  5557. ********************************
  5558. Tests completed.
  5559. <html>
  5560. <head>
  5561. *** Testing assignments and variable aliasing: ***
  5562. This should read "blah": blah
  5563. This should read "this is nifty": this is nifty
  5564. *************************************************
  5565. *** Testing integer operators ***
  5566. Correct result - 8: 8
  5567. Correct result - 8: 8
  5568. Correct result - 2: 2
  5569. Correct result - -2: -2
  5570. Correct result - 15: 15
  5571. Correct result - 15: 15
  5572. Correct result - 2: 2
  5573. Correct result - 3: 3
  5574. *********************************
  5575. *** Testing real operators ***
  5576. Correct result - 8: 8
  5577. Correct result - 8: 8
  5578. Correct result - 2: 2
  5579. Correct result - -2: -2
  5580. Correct result - 15: 15
  5581. Correct result - 15: 15
  5582. Correct result - 2: 2
  5583. Correct result - 3: 3
  5584. *********************************
  5585. *** Testing if/elseif/else control ***
  5586. This works
  5587. this_still_works
  5588. should_print
  5589. *** Seriously nested if's test ***
  5590. ** spelling correction by kluzz **
  5591. Only two lines of text should follow:
  5592. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  5593. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  5594. 3 loop iterations should follow:
  5595. 2 4
  5596. 3 4
  5597. 4 4
  5598. **********************************
  5599. *** C-style else-if's ***
  5600. This should be displayed
  5601. *************************
  5602. *** WHILE tests ***
  5603. 0 is smaller than 20
  5604. 1 is smaller than 20
  5605. 2 is smaller than 20
  5606. 3 is smaller than 20
  5607. 4 is smaller than 20
  5608. 5 is smaller than 20
  5609. 6 is smaller than 20
  5610. 7 is smaller than 20
  5611. 8 is smaller than 20
  5612. 9 is smaller than 20
  5613. 10 is smaller than 20
  5614. 11 is smaller than 20
  5615. 12 is smaller than 20
  5616. 13 is smaller than 20
  5617. 14 is smaller than 20
  5618. 15 is smaller than 20
  5619. 16 is smaller than 20
  5620. 17 is smaller than 20
  5621. 18 is smaller than 20
  5622. 19 is smaller than 20
  5623. 20 equals 20
  5624. 21 is greater than 20
  5625. 22 is greater than 20
  5626. 23 is greater than 20
  5627. 24 is greater than 20
  5628. 25 is greater than 20
  5629. 26 is greater than 20
  5630. 27 is greater than 20
  5631. 28 is greater than 20
  5632. 29 is greater than 20
  5633. 30 is greater than 20
  5634. 31 is greater than 20
  5635. 32 is greater than 20
  5636. 33 is greater than 20
  5637. 34 is greater than 20
  5638. 35 is greater than 20
  5639. 36 is greater than 20
  5640. 37 is greater than 20
  5641. 38 is greater than 20
  5642. 39 is greater than 20
  5643. *******************
  5644. *** Nested WHILEs ***
  5645. Each array variable should be equal to the sum of its indices:
  5646. ${test00}[0] = 0
  5647. ${test00}[1] = 1
  5648. ${test00}[2] = 2
  5649. ${test01}[0] = 1
  5650. ${test01}[1] = 2
  5651. ${test01}[2] = 3
  5652. ${test02}[0] = 2
  5653. ${test02}[1] = 3
  5654. ${test02}[2] = 4
  5655. ${test10}[0] = 1
  5656. ${test10}[1] = 2
  5657. ${test10}[2] = 3
  5658. ${test11}[0] = 2
  5659. ${test11}[1] = 3
  5660. ${test11}[2] = 4
  5661. ${test12}[0] = 3
  5662. ${test12}[1] = 4
  5663. ${test12}[2] = 5
  5664. ${test20}[0] = 2
  5665. ${test20}[1] = 3
  5666. ${test20}[2] = 4
  5667. ${test21}[0] = 3
  5668. ${test21}[1] = 4
  5669. ${test21}[2] = 5
  5670. ${test22}[0] = 4
  5671. ${test22}[1] = 5
  5672. ${test22}[2] = 6
  5673. *********************
  5674. *** hash test... ***
  5675. commented out...
  5676. **************************
  5677. *** Hash resizing test ***
  5678. ba
  5679. baa
  5680. baaa
  5681. baaaa
  5682. baaaaa
  5683. baaaaaa
  5684. baaaaaaa
  5685. baaaaaaaa
  5686. baaaaaaaaa
  5687. baaaaaaaaaa
  5688. ba
  5689. 10
  5690. baa
  5691. 9
  5692. baaa
  5693. 8
  5694. baaaa
  5695. 7
  5696. baaaaa
  5697. 6
  5698. baaaaaa
  5699. 5
  5700. baaaaaaa
  5701. 4
  5702. baaaaaaaa
  5703. 3
  5704. baaaaaaaaa
  5705. 2
  5706. baaaaaaaaaa
  5707. 1
  5708. **************************
  5709. *** break/continue test ***
  5710. $i should go from 0 to 2
  5711. $j should go from 3 to 4, and $q should go from 3 to 4
  5712. $j=3
  5713. $q=3
  5714. $q=4
  5715. $j=4
  5716. $q=3
  5717. $q=4
  5718. $j should go from 0 to 2
  5719. $j=0
  5720. $j=1
  5721. $j=2
  5722. $k should go from 0 to 2
  5723. $k=0
  5724. $k=1
  5725. $k=2
  5726. $i=0
  5727. $j should go from 3 to 4, and $q should go from 3 to 4
  5728. $j=3
  5729. $q=3
  5730. $q=4
  5731. $j=4
  5732. $q=3
  5733. $q=4
  5734. $j should go from 0 to 2
  5735. $j=0
  5736. $j=1
  5737. $j=2
  5738. $k should go from 0 to 2
  5739. $k=0
  5740. $k=1
  5741. $k=2
  5742. $i=1
  5743. $j should go from 3 to 4, and $q should go from 3 to 4
  5744. $j=3
  5745. $q=3
  5746. $q=4
  5747. $j=4
  5748. $q=3
  5749. $q=4
  5750. $j should go from 0 to 2
  5751. $j=0
  5752. $j=1
  5753. $j=2
  5754. $k should go from 0 to 2
  5755. $k=0
  5756. $k=1
  5757. $k=2
  5758. $i=2
  5759. ***********************
  5760. *** Nested file include test ***
  5761. <html>
  5762. This is Finish.phtml. This file is supposed to be included
  5763. from regression_test.phtml. This is normal HTML.
  5764. and this is PHP code, 2+2=4
  5765. </html>
  5766. ********************************
  5767. Tests completed.
  5768. <html>
  5769. <head>
  5770. *** Testing assignments and variable aliasing: ***
  5771. This should read "blah": blah
  5772. This should read "this is nifty": this is nifty
  5773. *************************************************
  5774. *** Testing integer operators ***
  5775. Correct result - 8: 8
  5776. Correct result - 8: 8
  5777. Correct result - 2: 2
  5778. Correct result - -2: -2
  5779. Correct result - 15: 15
  5780. Correct result - 15: 15
  5781. Correct result - 2: 2
  5782. Correct result - 3: 3
  5783. *********************************
  5784. *** Testing real operators ***
  5785. Correct result - 8: 8
  5786. Correct result - 8: 8
  5787. Correct result - 2: 2
  5788. Correct result - -2: -2
  5789. Correct result - 15: 15
  5790. Correct result - 15: 15
  5791. Correct result - 2: 2
  5792. Correct result - 3: 3
  5793. *********************************
  5794. *** Testing if/elseif/else control ***
  5795. This works
  5796. this_still_works
  5797. should_print
  5798. *** Seriously nested if's test ***
  5799. ** spelling correction by kluzz **
  5800. Only two lines of text should follow:
  5801. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  5802. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  5803. 3 loop iterations should follow:
  5804. 2 4
  5805. 3 4
  5806. 4 4
  5807. **********************************
  5808. *** C-style else-if's ***
  5809. This should be displayed
  5810. *************************
  5811. *** WHILE tests ***
  5812. 0 is smaller than 20
  5813. 1 is smaller than 20
  5814. 2 is smaller than 20
  5815. 3 is smaller than 20
  5816. 4 is smaller than 20
  5817. 5 is smaller than 20
  5818. 6 is smaller than 20
  5819. 7 is smaller than 20
  5820. 8 is smaller than 20
  5821. 9 is smaller than 20
  5822. 10 is smaller than 20
  5823. 11 is smaller than 20
  5824. 12 is smaller than 20
  5825. 13 is smaller than 20
  5826. 14 is smaller than 20
  5827. 15 is smaller than 20
  5828. 16 is smaller than 20
  5829. 17 is smaller than 20
  5830. 18 is smaller than 20
  5831. 19 is smaller than 20
  5832. 20 equals 20
  5833. 21 is greater than 20
  5834. 22 is greater than 20
  5835. 23 is greater than 20
  5836. 24 is greater than 20
  5837. 25 is greater than 20
  5838. 26 is greater than 20
  5839. 27 is greater than 20
  5840. 28 is greater than 20
  5841. 29 is greater than 20
  5842. 30 is greater than 20
  5843. 31 is greater than 20
  5844. 32 is greater than 20
  5845. 33 is greater than 20
  5846. 34 is greater than 20
  5847. 35 is greater than 20
  5848. 36 is greater than 20
  5849. 37 is greater than 20
  5850. 38 is greater than 20
  5851. 39 is greater than 20
  5852. *******************
  5853. *** Nested WHILEs ***
  5854. Each array variable should be equal to the sum of its indices:
  5855. ${test00}[0] = 0
  5856. ${test00}[1] = 1
  5857. ${test00}[2] = 2
  5858. ${test01}[0] = 1
  5859. ${test01}[1] = 2
  5860. ${test01}[2] = 3
  5861. ${test02}[0] = 2
  5862. ${test02}[1] = 3
  5863. ${test02}[2] = 4
  5864. ${test10}[0] = 1
  5865. ${test10}[1] = 2
  5866. ${test10}[2] = 3
  5867. ${test11}[0] = 2
  5868. ${test11}[1] = 3
  5869. ${test11}[2] = 4
  5870. ${test12}[0] = 3
  5871. ${test12}[1] = 4
  5872. ${test12}[2] = 5
  5873. ${test20}[0] = 2
  5874. ${test20}[1] = 3
  5875. ${test20}[2] = 4
  5876. ${test21}[0] = 3
  5877. ${test21}[1] = 4
  5878. ${test21}[2] = 5
  5879. ${test22}[0] = 4
  5880. ${test22}[1] = 5
  5881. ${test22}[2] = 6
  5882. *********************
  5883. *** hash test... ***
  5884. commented out...
  5885. **************************
  5886. *** Hash resizing test ***
  5887. ba
  5888. baa
  5889. baaa
  5890. baaaa
  5891. baaaaa
  5892. baaaaaa
  5893. baaaaaaa
  5894. baaaaaaaa
  5895. baaaaaaaaa
  5896. baaaaaaaaaa
  5897. ba
  5898. 10
  5899. baa
  5900. 9
  5901. baaa
  5902. 8
  5903. baaaa
  5904. 7
  5905. baaaaa
  5906. 6
  5907. baaaaaa
  5908. 5
  5909. baaaaaaa
  5910. 4
  5911. baaaaaaaa
  5912. 3
  5913. baaaaaaaaa
  5914. 2
  5915. baaaaaaaaaa
  5916. 1
  5917. **************************
  5918. *** break/continue test ***
  5919. $i should go from 0 to 2
  5920. $j should go from 3 to 4, and $q should go from 3 to 4
  5921. $j=3
  5922. $q=3
  5923. $q=4
  5924. $j=4
  5925. $q=3
  5926. $q=4
  5927. $j should go from 0 to 2
  5928. $j=0
  5929. $j=1
  5930. $j=2
  5931. $k should go from 0 to 2
  5932. $k=0
  5933. $k=1
  5934. $k=2
  5935. $i=0
  5936. $j should go from 3 to 4, and $q should go from 3 to 4
  5937. $j=3
  5938. $q=3
  5939. $q=4
  5940. $j=4
  5941. $q=3
  5942. $q=4
  5943. $j should go from 0 to 2
  5944. $j=0
  5945. $j=1
  5946. $j=2
  5947. $k should go from 0 to 2
  5948. $k=0
  5949. $k=1
  5950. $k=2
  5951. $i=1
  5952. $j should go from 3 to 4, and $q should go from 3 to 4
  5953. $j=3
  5954. $q=3
  5955. $q=4
  5956. $j=4
  5957. $q=3
  5958. $q=4
  5959. $j should go from 0 to 2
  5960. $j=0
  5961. $j=1
  5962. $j=2
  5963. $k should go from 0 to 2
  5964. $k=0
  5965. $k=1
  5966. $k=2
  5967. $i=2
  5968. ***********************
  5969. *** Nested file include test ***
  5970. <html>
  5971. This is Finish.phtml. This file is supposed to be included
  5972. from regression_test.phtml. This is normal HTML.
  5973. and this is PHP code, 2+2=4
  5974. </html>
  5975. ********************************
  5976. Tests completed.
  5977. <html>
  5978. <head>
  5979. *** Testing assignments and variable aliasing: ***
  5980. This should read "blah": blah
  5981. This should read "this is nifty": this is nifty
  5982. *************************************************
  5983. *** Testing integer operators ***
  5984. Correct result - 8: 8
  5985. Correct result - 8: 8
  5986. Correct result - 2: 2
  5987. Correct result - -2: -2
  5988. Correct result - 15: 15
  5989. Correct result - 15: 15
  5990. Correct result - 2: 2
  5991. Correct result - 3: 3
  5992. *********************************
  5993. *** Testing real operators ***
  5994. Correct result - 8: 8
  5995. Correct result - 8: 8
  5996. Correct result - 2: 2
  5997. Correct result - -2: -2
  5998. Correct result - 15: 15
  5999. Correct result - 15: 15
  6000. Correct result - 2: 2
  6001. Correct result - 3: 3
  6002. *********************************
  6003. *** Testing if/elseif/else control ***
  6004. This works
  6005. this_still_works
  6006. should_print
  6007. *** Seriously nested if's test ***
  6008. ** spelling correction by kluzz **
  6009. Only two lines of text should follow:
  6010. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  6011. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  6012. 3 loop iterations should follow:
  6013. 2 4
  6014. 3 4
  6015. 4 4
  6016. **********************************
  6017. *** C-style else-if's ***
  6018. This should be displayed
  6019. *************************
  6020. *** WHILE tests ***
  6021. 0 is smaller than 20
  6022. 1 is smaller than 20
  6023. 2 is smaller than 20
  6024. 3 is smaller than 20
  6025. 4 is smaller than 20
  6026. 5 is smaller than 20
  6027. 6 is smaller than 20
  6028. 7 is smaller than 20
  6029. 8 is smaller than 20
  6030. 9 is smaller than 20
  6031. 10 is smaller than 20
  6032. 11 is smaller than 20
  6033. 12 is smaller than 20
  6034. 13 is smaller than 20
  6035. 14 is smaller than 20
  6036. 15 is smaller than 20
  6037. 16 is smaller than 20
  6038. 17 is smaller than 20
  6039. 18 is smaller than 20
  6040. 19 is smaller than 20
  6041. 20 equals 20
  6042. 21 is greater than 20
  6043. 22 is greater than 20
  6044. 23 is greater than 20
  6045. 24 is greater than 20
  6046. 25 is greater than 20
  6047. 26 is greater than 20
  6048. 27 is greater than 20
  6049. 28 is greater than 20
  6050. 29 is greater than 20
  6051. 30 is greater than 20
  6052. 31 is greater than 20
  6053. 32 is greater than 20
  6054. 33 is greater than 20
  6055. 34 is greater than 20
  6056. 35 is greater than 20
  6057. 36 is greater than 20
  6058. 37 is greater than 20
  6059. 38 is greater than 20
  6060. 39 is greater than 20
  6061. *******************
  6062. *** Nested WHILEs ***
  6063. Each array variable should be equal to the sum of its indices:
  6064. ${test00}[0] = 0
  6065. ${test00}[1] = 1
  6066. ${test00}[2] = 2
  6067. ${test01}[0] = 1
  6068. ${test01}[1] = 2
  6069. ${test01}[2] = 3
  6070. ${test02}[0] = 2
  6071. ${test02}[1] = 3
  6072. ${test02}[2] = 4
  6073. ${test10}[0] = 1
  6074. ${test10}[1] = 2
  6075. ${test10}[2] = 3
  6076. ${test11}[0] = 2
  6077. ${test11}[1] = 3
  6078. ${test11}[2] = 4
  6079. ${test12}[0] = 3
  6080. ${test12}[1] = 4
  6081. ${test12}[2] = 5
  6082. ${test20}[0] = 2
  6083. ${test20}[1] = 3
  6084. ${test20}[2] = 4
  6085. ${test21}[0] = 3
  6086. ${test21}[1] = 4
  6087. ${test21}[2] = 5
  6088. ${test22}[0] = 4
  6089. ${test22}[1] = 5
  6090. ${test22}[2] = 6
  6091. *********************
  6092. *** hash test... ***
  6093. commented out...
  6094. **************************
  6095. *** Hash resizing test ***
  6096. ba
  6097. baa
  6098. baaa
  6099. baaaa
  6100. baaaaa
  6101. baaaaaa
  6102. baaaaaaa
  6103. baaaaaaaa
  6104. baaaaaaaaa
  6105. baaaaaaaaaa
  6106. ba
  6107. 10
  6108. baa
  6109. 9
  6110. baaa
  6111. 8
  6112. baaaa
  6113. 7
  6114. baaaaa
  6115. 6
  6116. baaaaaa
  6117. 5
  6118. baaaaaaa
  6119. 4
  6120. baaaaaaaa
  6121. 3
  6122. baaaaaaaaa
  6123. 2
  6124. baaaaaaaaaa
  6125. 1
  6126. **************************
  6127. *** break/continue test ***
  6128. $i should go from 0 to 2
  6129. $j should go from 3 to 4, and $q should go from 3 to 4
  6130. $j=3
  6131. $q=3
  6132. $q=4
  6133. $j=4
  6134. $q=3
  6135. $q=4
  6136. $j should go from 0 to 2
  6137. $j=0
  6138. $j=1
  6139. $j=2
  6140. $k should go from 0 to 2
  6141. $k=0
  6142. $k=1
  6143. $k=2
  6144. $i=0
  6145. $j should go from 3 to 4, and $q should go from 3 to 4
  6146. $j=3
  6147. $q=3
  6148. $q=4
  6149. $j=4
  6150. $q=3
  6151. $q=4
  6152. $j should go from 0 to 2
  6153. $j=0
  6154. $j=1
  6155. $j=2
  6156. $k should go from 0 to 2
  6157. $k=0
  6158. $k=1
  6159. $k=2
  6160. $i=1
  6161. $j should go from 3 to 4, and $q should go from 3 to 4
  6162. $j=3
  6163. $q=3
  6164. $q=4
  6165. $j=4
  6166. $q=3
  6167. $q=4
  6168. $j should go from 0 to 2
  6169. $j=0
  6170. $j=1
  6171. $j=2
  6172. $k should go from 0 to 2
  6173. $k=0
  6174. $k=1
  6175. $k=2
  6176. $i=2
  6177. ***********************
  6178. *** Nested file include test ***
  6179. <html>
  6180. This is Finish.phtml. This file is supposed to be included
  6181. from regression_test.phtml. This is normal HTML.
  6182. and this is PHP code, 2+2=4
  6183. </html>
  6184. ********************************
  6185. Tests completed.
  6186. <html>
  6187. <head>
  6188. *** Testing assignments and variable aliasing: ***
  6189. This should read "blah": blah
  6190. This should read "this is nifty": this is nifty
  6191. *************************************************
  6192. *** Testing integer operators ***
  6193. Correct result - 8: 8
  6194. Correct result - 8: 8
  6195. Correct result - 2: 2
  6196. Correct result - -2: -2
  6197. Correct result - 15: 15
  6198. Correct result - 15: 15
  6199. Correct result - 2: 2
  6200. Correct result - 3: 3
  6201. *********************************
  6202. *** Testing real operators ***
  6203. Correct result - 8: 8
  6204. Correct result - 8: 8
  6205. Correct result - 2: 2
  6206. Correct result - -2: -2
  6207. Correct result - 15: 15
  6208. Correct result - 15: 15
  6209. Correct result - 2: 2
  6210. Correct result - 3: 3
  6211. *********************************
  6212. *** Testing if/elseif/else control ***
  6213. This works
  6214. this_still_works
  6215. should_print
  6216. *** Seriously nested if's test ***
  6217. ** spelling correction by kluzz **
  6218. Only two lines of text should follow:
  6219. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  6220. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  6221. 3 loop iterations should follow:
  6222. 2 4
  6223. 3 4
  6224. 4 4
  6225. **********************************
  6226. *** C-style else-if's ***
  6227. This should be displayed
  6228. *************************
  6229. *** WHILE tests ***
  6230. 0 is smaller than 20
  6231. 1 is smaller than 20
  6232. 2 is smaller than 20
  6233. 3 is smaller than 20
  6234. 4 is smaller than 20
  6235. 5 is smaller than 20
  6236. 6 is smaller than 20
  6237. 7 is smaller than 20
  6238. 8 is smaller than 20
  6239. 9 is smaller than 20
  6240. 10 is smaller than 20
  6241. 11 is smaller than 20
  6242. 12 is smaller than 20
  6243. 13 is smaller than 20
  6244. 14 is smaller than 20
  6245. 15 is smaller than 20
  6246. 16 is smaller than 20
  6247. 17 is smaller than 20
  6248. 18 is smaller than 20
  6249. 19 is smaller than 20
  6250. 20 equals 20
  6251. 21 is greater than 20
  6252. 22 is greater than 20
  6253. 23 is greater than 20
  6254. 24 is greater than 20
  6255. 25 is greater than 20
  6256. 26 is greater than 20
  6257. 27 is greater than 20
  6258. 28 is greater than 20
  6259. 29 is greater than 20
  6260. 30 is greater than 20
  6261. 31 is greater than 20
  6262. 32 is greater than 20
  6263. 33 is greater than 20
  6264. 34 is greater than 20
  6265. 35 is greater than 20
  6266. 36 is greater than 20
  6267. 37 is greater than 20
  6268. 38 is greater than 20
  6269. 39 is greater than 20
  6270. *******************
  6271. *** Nested WHILEs ***
  6272. Each array variable should be equal to the sum of its indices:
  6273. ${test00}[0] = 0
  6274. ${test00}[1] = 1
  6275. ${test00}[2] = 2
  6276. ${test01}[0] = 1
  6277. ${test01}[1] = 2
  6278. ${test01}[2] = 3
  6279. ${test02}[0] = 2
  6280. ${test02}[1] = 3
  6281. ${test02}[2] = 4
  6282. ${test10}[0] = 1
  6283. ${test10}[1] = 2
  6284. ${test10}[2] = 3
  6285. ${test11}[0] = 2
  6286. ${test11}[1] = 3
  6287. ${test11}[2] = 4
  6288. ${test12}[0] = 3
  6289. ${test12}[1] = 4
  6290. ${test12}[2] = 5
  6291. ${test20}[0] = 2
  6292. ${test20}[1] = 3
  6293. ${test20}[2] = 4
  6294. ${test21}[0] = 3
  6295. ${test21}[1] = 4
  6296. ${test21}[2] = 5
  6297. ${test22}[0] = 4
  6298. ${test22}[1] = 5
  6299. ${test22}[2] = 6
  6300. *********************
  6301. *** hash test... ***
  6302. commented out...
  6303. **************************
  6304. *** Hash resizing test ***
  6305. ba
  6306. baa
  6307. baaa
  6308. baaaa
  6309. baaaaa
  6310. baaaaaa
  6311. baaaaaaa
  6312. baaaaaaaa
  6313. baaaaaaaaa
  6314. baaaaaaaaaa
  6315. ba
  6316. 10
  6317. baa
  6318. 9
  6319. baaa
  6320. 8
  6321. baaaa
  6322. 7
  6323. baaaaa
  6324. 6
  6325. baaaaaa
  6326. 5
  6327. baaaaaaa
  6328. 4
  6329. baaaaaaaa
  6330. 3
  6331. baaaaaaaaa
  6332. 2
  6333. baaaaaaaaaa
  6334. 1
  6335. **************************
  6336. *** break/continue test ***
  6337. $i should go from 0 to 2
  6338. $j should go from 3 to 4, and $q should go from 3 to 4
  6339. $j=3
  6340. $q=3
  6341. $q=4
  6342. $j=4
  6343. $q=3
  6344. $q=4
  6345. $j should go from 0 to 2
  6346. $j=0
  6347. $j=1
  6348. $j=2
  6349. $k should go from 0 to 2
  6350. $k=0
  6351. $k=1
  6352. $k=2
  6353. $i=0
  6354. $j should go from 3 to 4, and $q should go from 3 to 4
  6355. $j=3
  6356. $q=3
  6357. $q=4
  6358. $j=4
  6359. $q=3
  6360. $q=4
  6361. $j should go from 0 to 2
  6362. $j=0
  6363. $j=1
  6364. $j=2
  6365. $k should go from 0 to 2
  6366. $k=0
  6367. $k=1
  6368. $k=2
  6369. $i=1
  6370. $j should go from 3 to 4, and $q should go from 3 to 4
  6371. $j=3
  6372. $q=3
  6373. $q=4
  6374. $j=4
  6375. $q=3
  6376. $q=4
  6377. $j should go from 0 to 2
  6378. $j=0
  6379. $j=1
  6380. $j=2
  6381. $k should go from 0 to 2
  6382. $k=0
  6383. $k=1
  6384. $k=2
  6385. $i=2
  6386. ***********************
  6387. *** Nested file include test ***
  6388. <html>
  6389. This is Finish.phtml. This file is supposed to be included
  6390. from regression_test.phtml. This is normal HTML.
  6391. and this is PHP code, 2+2=4
  6392. </html>
  6393. ********************************
  6394. Tests completed.
  6395. <html>
  6396. <head>
  6397. *** Testing assignments and variable aliasing: ***
  6398. This should read "blah": blah
  6399. This should read "this is nifty": this is nifty
  6400. *************************************************
  6401. *** Testing integer operators ***
  6402. Correct result - 8: 8
  6403. Correct result - 8: 8
  6404. Correct result - 2: 2
  6405. Correct result - -2: -2
  6406. Correct result - 15: 15
  6407. Correct result - 15: 15
  6408. Correct result - 2: 2
  6409. Correct result - 3: 3
  6410. *********************************
  6411. *** Testing real operators ***
  6412. Correct result - 8: 8
  6413. Correct result - 8: 8
  6414. Correct result - 2: 2
  6415. Correct result - -2: -2
  6416. Correct result - 15: 15
  6417. Correct result - 15: 15
  6418. Correct result - 2: 2
  6419. Correct result - 3: 3
  6420. *********************************
  6421. *** Testing if/elseif/else control ***
  6422. This works
  6423. this_still_works
  6424. should_print
  6425. *** Seriously nested if's test ***
  6426. ** spelling correction by kluzz **
  6427. Only two lines of text should follow:
  6428. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  6429. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  6430. 3 loop iterations should follow:
  6431. 2 4
  6432. 3 4
  6433. 4 4
  6434. **********************************
  6435. *** C-style else-if's ***
  6436. This should be displayed
  6437. *************************
  6438. *** WHILE tests ***
  6439. 0 is smaller than 20
  6440. 1 is smaller than 20
  6441. 2 is smaller than 20
  6442. 3 is smaller than 20
  6443. 4 is smaller than 20
  6444. 5 is smaller than 20
  6445. 6 is smaller than 20
  6446. 7 is smaller than 20
  6447. 8 is smaller than 20
  6448. 9 is smaller than 20
  6449. 10 is smaller than 20
  6450. 11 is smaller than 20
  6451. 12 is smaller than 20
  6452. 13 is smaller than 20
  6453. 14 is smaller than 20
  6454. 15 is smaller than 20
  6455. 16 is smaller than 20
  6456. 17 is smaller than 20
  6457. 18 is smaller than 20
  6458. 19 is smaller than 20
  6459. 20 equals 20
  6460. 21 is greater than 20
  6461. 22 is greater than 20
  6462. 23 is greater than 20
  6463. 24 is greater than 20
  6464. 25 is greater than 20
  6465. 26 is greater than 20
  6466. 27 is greater than 20
  6467. 28 is greater than 20
  6468. 29 is greater than 20
  6469. 30 is greater than 20
  6470. 31 is greater than 20
  6471. 32 is greater than 20
  6472. 33 is greater than 20
  6473. 34 is greater than 20
  6474. 35 is greater than 20
  6475. 36 is greater than 20
  6476. 37 is greater than 20
  6477. 38 is greater than 20
  6478. 39 is greater than 20
  6479. *******************
  6480. *** Nested WHILEs ***
  6481. Each array variable should be equal to the sum of its indices:
  6482. ${test00}[0] = 0
  6483. ${test00}[1] = 1
  6484. ${test00}[2] = 2
  6485. ${test01}[0] = 1
  6486. ${test01}[1] = 2
  6487. ${test01}[2] = 3
  6488. ${test02}[0] = 2
  6489. ${test02}[1] = 3
  6490. ${test02}[2] = 4
  6491. ${test10}[0] = 1
  6492. ${test10}[1] = 2
  6493. ${test10}[2] = 3
  6494. ${test11}[0] = 2
  6495. ${test11}[1] = 3
  6496. ${test11}[2] = 4
  6497. ${test12}[0] = 3
  6498. ${test12}[1] = 4
  6499. ${test12}[2] = 5
  6500. ${test20}[0] = 2
  6501. ${test20}[1] = 3
  6502. ${test20}[2] = 4
  6503. ${test21}[0] = 3
  6504. ${test21}[1] = 4
  6505. ${test21}[2] = 5
  6506. ${test22}[0] = 4
  6507. ${test22}[1] = 5
  6508. ${test22}[2] = 6
  6509. *********************
  6510. *** hash test... ***
  6511. commented out...
  6512. **************************
  6513. *** Hash resizing test ***
  6514. ba
  6515. baa
  6516. baaa
  6517. baaaa
  6518. baaaaa
  6519. baaaaaa
  6520. baaaaaaa
  6521. baaaaaaaa
  6522. baaaaaaaaa
  6523. baaaaaaaaaa
  6524. ba
  6525. 10
  6526. baa
  6527. 9
  6528. baaa
  6529. 8
  6530. baaaa
  6531. 7
  6532. baaaaa
  6533. 6
  6534. baaaaaa
  6535. 5
  6536. baaaaaaa
  6537. 4
  6538. baaaaaaaa
  6539. 3
  6540. baaaaaaaaa
  6541. 2
  6542. baaaaaaaaaa
  6543. 1
  6544. **************************
  6545. *** break/continue test ***
  6546. $i should go from 0 to 2
  6547. $j should go from 3 to 4, and $q should go from 3 to 4
  6548. $j=3
  6549. $q=3
  6550. $q=4
  6551. $j=4
  6552. $q=3
  6553. $q=4
  6554. $j should go from 0 to 2
  6555. $j=0
  6556. $j=1
  6557. $j=2
  6558. $k should go from 0 to 2
  6559. $k=0
  6560. $k=1
  6561. $k=2
  6562. $i=0
  6563. $j should go from 3 to 4, and $q should go from 3 to 4
  6564. $j=3
  6565. $q=3
  6566. $q=4
  6567. $j=4
  6568. $q=3
  6569. $q=4
  6570. $j should go from 0 to 2
  6571. $j=0
  6572. $j=1
  6573. $j=2
  6574. $k should go from 0 to 2
  6575. $k=0
  6576. $k=1
  6577. $k=2
  6578. $i=1
  6579. $j should go from 3 to 4, and $q should go from 3 to 4
  6580. $j=3
  6581. $q=3
  6582. $q=4
  6583. $j=4
  6584. $q=3
  6585. $q=4
  6586. $j should go from 0 to 2
  6587. $j=0
  6588. $j=1
  6589. $j=2
  6590. $k should go from 0 to 2
  6591. $k=0
  6592. $k=1
  6593. $k=2
  6594. $i=2
  6595. ***********************
  6596. *** Nested file include test ***
  6597. <html>
  6598. This is Finish.phtml. This file is supposed to be included
  6599. from regression_test.phtml. This is normal HTML.
  6600. and this is PHP code, 2+2=4
  6601. </html>
  6602. ********************************
  6603. Tests completed.
  6604. <html>
  6605. <head>
  6606. *** Testing assignments and variable aliasing: ***
  6607. This should read "blah": blah
  6608. This should read "this is nifty": this is nifty
  6609. *************************************************
  6610. *** Testing integer operators ***
  6611. Correct result - 8: 8
  6612. Correct result - 8: 8
  6613. Correct result - 2: 2
  6614. Correct result - -2: -2
  6615. Correct result - 15: 15
  6616. Correct result - 15: 15
  6617. Correct result - 2: 2
  6618. Correct result - 3: 3
  6619. *********************************
  6620. *** Testing real operators ***
  6621. Correct result - 8: 8
  6622. Correct result - 8: 8
  6623. Correct result - 2: 2
  6624. Correct result - -2: -2
  6625. Correct result - 15: 15
  6626. Correct result - 15: 15
  6627. Correct result - 2: 2
  6628. Correct result - 3: 3
  6629. *********************************
  6630. *** Testing if/elseif/else control ***
  6631. This works
  6632. this_still_works
  6633. should_print
  6634. *** Seriously nested if's test ***
  6635. ** spelling correction by kluzz **
  6636. Only two lines of text should follow:
  6637. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  6638. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  6639. 3 loop iterations should follow:
  6640. 2 4
  6641. 3 4
  6642. 4 4
  6643. **********************************
  6644. *** C-style else-if's ***
  6645. This should be displayed
  6646. *************************
  6647. *** WHILE tests ***
  6648. 0 is smaller than 20
  6649. 1 is smaller than 20
  6650. 2 is smaller than 20
  6651. 3 is smaller than 20
  6652. 4 is smaller than 20
  6653. 5 is smaller than 20
  6654. 6 is smaller than 20
  6655. 7 is smaller than 20
  6656. 8 is smaller than 20
  6657. 9 is smaller than 20
  6658. 10 is smaller than 20
  6659. 11 is smaller than 20
  6660. 12 is smaller than 20
  6661. 13 is smaller than 20
  6662. 14 is smaller than 20
  6663. 15 is smaller than 20
  6664. 16 is smaller than 20
  6665. 17 is smaller than 20
  6666. 18 is smaller than 20
  6667. 19 is smaller than 20
  6668. 20 equals 20
  6669. 21 is greater than 20
  6670. 22 is greater than 20
  6671. 23 is greater than 20
  6672. 24 is greater than 20
  6673. 25 is greater than 20
  6674. 26 is greater than 20
  6675. 27 is greater than 20
  6676. 28 is greater than 20
  6677. 29 is greater than 20
  6678. 30 is greater than 20
  6679. 31 is greater than 20
  6680. 32 is greater than 20
  6681. 33 is greater than 20
  6682. 34 is greater than 20
  6683. 35 is greater than 20
  6684. 36 is greater than 20
  6685. 37 is greater than 20
  6686. 38 is greater than 20
  6687. 39 is greater than 20
  6688. *******************
  6689. *** Nested WHILEs ***
  6690. Each array variable should be equal to the sum of its indices:
  6691. ${test00}[0] = 0
  6692. ${test00}[1] = 1
  6693. ${test00}[2] = 2
  6694. ${test01}[0] = 1
  6695. ${test01}[1] = 2
  6696. ${test01}[2] = 3
  6697. ${test02}[0] = 2
  6698. ${test02}[1] = 3
  6699. ${test02}[2] = 4
  6700. ${test10}[0] = 1
  6701. ${test10}[1] = 2
  6702. ${test10}[2] = 3
  6703. ${test11}[0] = 2
  6704. ${test11}[1] = 3
  6705. ${test11}[2] = 4
  6706. ${test12}[0] = 3
  6707. ${test12}[1] = 4
  6708. ${test12}[2] = 5
  6709. ${test20}[0] = 2
  6710. ${test20}[1] = 3
  6711. ${test20}[2] = 4
  6712. ${test21}[0] = 3
  6713. ${test21}[1] = 4
  6714. ${test21}[2] = 5
  6715. ${test22}[0] = 4
  6716. ${test22}[1] = 5
  6717. ${test22}[2] = 6
  6718. *********************
  6719. *** hash test... ***
  6720. commented out...
  6721. **************************
  6722. *** Hash resizing test ***
  6723. ba
  6724. baa
  6725. baaa
  6726. baaaa
  6727. baaaaa
  6728. baaaaaa
  6729. baaaaaaa
  6730. baaaaaaaa
  6731. baaaaaaaaa
  6732. baaaaaaaaaa
  6733. ba
  6734. 10
  6735. baa
  6736. 9
  6737. baaa
  6738. 8
  6739. baaaa
  6740. 7
  6741. baaaaa
  6742. 6
  6743. baaaaaa
  6744. 5
  6745. baaaaaaa
  6746. 4
  6747. baaaaaaaa
  6748. 3
  6749. baaaaaaaaa
  6750. 2
  6751. baaaaaaaaaa
  6752. 1
  6753. **************************
  6754. *** break/continue test ***
  6755. $i should go from 0 to 2
  6756. $j should go from 3 to 4, and $q should go from 3 to 4
  6757. $j=3
  6758. $q=3
  6759. $q=4
  6760. $j=4
  6761. $q=3
  6762. $q=4
  6763. $j should go from 0 to 2
  6764. $j=0
  6765. $j=1
  6766. $j=2
  6767. $k should go from 0 to 2
  6768. $k=0
  6769. $k=1
  6770. $k=2
  6771. $i=0
  6772. $j should go from 3 to 4, and $q should go from 3 to 4
  6773. $j=3
  6774. $q=3
  6775. $q=4
  6776. $j=4
  6777. $q=3
  6778. $q=4
  6779. $j should go from 0 to 2
  6780. $j=0
  6781. $j=1
  6782. $j=2
  6783. $k should go from 0 to 2
  6784. $k=0
  6785. $k=1
  6786. $k=2
  6787. $i=1
  6788. $j should go from 3 to 4, and $q should go from 3 to 4
  6789. $j=3
  6790. $q=3
  6791. $q=4
  6792. $j=4
  6793. $q=3
  6794. $q=4
  6795. $j should go from 0 to 2
  6796. $j=0
  6797. $j=1
  6798. $j=2
  6799. $k should go from 0 to 2
  6800. $k=0
  6801. $k=1
  6802. $k=2
  6803. $i=2
  6804. ***********************
  6805. *** Nested file include test ***
  6806. <html>
  6807. This is Finish.phtml. This file is supposed to be included
  6808. from regression_test.phtml. This is normal HTML.
  6809. and this is PHP code, 2+2=4
  6810. </html>
  6811. ********************************
  6812. Tests completed.
  6813. <html>
  6814. <head>
  6815. *** Testing assignments and variable aliasing: ***
  6816. This should read "blah": blah
  6817. This should read "this is nifty": this is nifty
  6818. *************************************************
  6819. *** Testing integer operators ***
  6820. Correct result - 8: 8
  6821. Correct result - 8: 8
  6822. Correct result - 2: 2
  6823. Correct result - -2: -2
  6824. Correct result - 15: 15
  6825. Correct result - 15: 15
  6826. Correct result - 2: 2
  6827. Correct result - 3: 3
  6828. *********************************
  6829. *** Testing real operators ***
  6830. Correct result - 8: 8
  6831. Correct result - 8: 8
  6832. Correct result - 2: 2
  6833. Correct result - -2: -2
  6834. Correct result - 15: 15
  6835. Correct result - 15: 15
  6836. Correct result - 2: 2
  6837. Correct result - 3: 3
  6838. *********************************
  6839. *** Testing if/elseif/else control ***
  6840. This works
  6841. this_still_works
  6842. should_print
  6843. *** Seriously nested if's test ***
  6844. ** spelling correction by kluzz **
  6845. Only two lines of text should follow:
  6846. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  6847. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  6848. 3 loop iterations should follow:
  6849. 2 4
  6850. 3 4
  6851. 4 4
  6852. **********************************
  6853. *** C-style else-if's ***
  6854. This should be displayed
  6855. *************************
  6856. *** WHILE tests ***
  6857. 0 is smaller than 20
  6858. 1 is smaller than 20
  6859. 2 is smaller than 20
  6860. 3 is smaller than 20
  6861. 4 is smaller than 20
  6862. 5 is smaller than 20
  6863. 6 is smaller than 20
  6864. 7 is smaller than 20
  6865. 8 is smaller than 20
  6866. 9 is smaller than 20
  6867. 10 is smaller than 20
  6868. 11 is smaller than 20
  6869. 12 is smaller than 20
  6870. 13 is smaller than 20
  6871. 14 is smaller than 20
  6872. 15 is smaller than 20
  6873. 16 is smaller than 20
  6874. 17 is smaller than 20
  6875. 18 is smaller than 20
  6876. 19 is smaller than 20
  6877. 20 equals 20
  6878. 21 is greater than 20
  6879. 22 is greater than 20
  6880. 23 is greater than 20
  6881. 24 is greater than 20
  6882. 25 is greater than 20
  6883. 26 is greater than 20
  6884. 27 is greater than 20
  6885. 28 is greater than 20
  6886. 29 is greater than 20
  6887. 30 is greater than 20
  6888. 31 is greater than 20
  6889. 32 is greater than 20
  6890. 33 is greater than 20
  6891. 34 is greater than 20
  6892. 35 is greater than 20
  6893. 36 is greater than 20
  6894. 37 is greater than 20
  6895. 38 is greater than 20
  6896. 39 is greater than 20
  6897. *******************
  6898. *** Nested WHILEs ***
  6899. Each array variable should be equal to the sum of its indices:
  6900. ${test00}[0] = 0
  6901. ${test00}[1] = 1
  6902. ${test00}[2] = 2
  6903. ${test01}[0] = 1
  6904. ${test01}[1] = 2
  6905. ${test01}[2] = 3
  6906. ${test02}[0] = 2
  6907. ${test02}[1] = 3
  6908. ${test02}[2] = 4
  6909. ${test10}[0] = 1
  6910. ${test10}[1] = 2
  6911. ${test10}[2] = 3
  6912. ${test11}[0] = 2
  6913. ${test11}[1] = 3
  6914. ${test11}[2] = 4
  6915. ${test12}[0] = 3
  6916. ${test12}[1] = 4
  6917. ${test12}[2] = 5
  6918. ${test20}[0] = 2
  6919. ${test20}[1] = 3
  6920. ${test20}[2] = 4
  6921. ${test21}[0] = 3
  6922. ${test21}[1] = 4
  6923. ${test21}[2] = 5
  6924. ${test22}[0] = 4
  6925. ${test22}[1] = 5
  6926. ${test22}[2] = 6
  6927. *********************
  6928. *** hash test... ***
  6929. commented out...
  6930. **************************
  6931. *** Hash resizing test ***
  6932. ba
  6933. baa
  6934. baaa
  6935. baaaa
  6936. baaaaa
  6937. baaaaaa
  6938. baaaaaaa
  6939. baaaaaaaa
  6940. baaaaaaaaa
  6941. baaaaaaaaaa
  6942. ba
  6943. 10
  6944. baa
  6945. 9
  6946. baaa
  6947. 8
  6948. baaaa
  6949. 7
  6950. baaaaa
  6951. 6
  6952. baaaaaa
  6953. 5
  6954. baaaaaaa
  6955. 4
  6956. baaaaaaaa
  6957. 3
  6958. baaaaaaaaa
  6959. 2
  6960. baaaaaaaaaa
  6961. 1
  6962. **************************
  6963. *** break/continue test ***
  6964. $i should go from 0 to 2
  6965. $j should go from 3 to 4, and $q should go from 3 to 4
  6966. $j=3
  6967. $q=3
  6968. $q=4
  6969. $j=4
  6970. $q=3
  6971. $q=4
  6972. $j should go from 0 to 2
  6973. $j=0
  6974. $j=1
  6975. $j=2
  6976. $k should go from 0 to 2
  6977. $k=0
  6978. $k=1
  6979. $k=2
  6980. $i=0
  6981. $j should go from 3 to 4, and $q should go from 3 to 4
  6982. $j=3
  6983. $q=3
  6984. $q=4
  6985. $j=4
  6986. $q=3
  6987. $q=4
  6988. $j should go from 0 to 2
  6989. $j=0
  6990. $j=1
  6991. $j=2
  6992. $k should go from 0 to 2
  6993. $k=0
  6994. $k=1
  6995. $k=2
  6996. $i=1
  6997. $j should go from 3 to 4, and $q should go from 3 to 4
  6998. $j=3
  6999. $q=3
  7000. $q=4
  7001. $j=4
  7002. $q=3
  7003. $q=4
  7004. $j should go from 0 to 2
  7005. $j=0
  7006. $j=1
  7007. $j=2
  7008. $k should go from 0 to 2
  7009. $k=0
  7010. $k=1
  7011. $k=2
  7012. $i=2
  7013. ***********************
  7014. *** Nested file include test ***
  7015. <html>
  7016. This is Finish.phtml. This file is supposed to be included
  7017. from regression_test.phtml. This is normal HTML.
  7018. and this is PHP code, 2+2=4
  7019. </html>
  7020. ********************************
  7021. Tests completed.
  7022. <html>
  7023. <head>
  7024. *** Testing assignments and variable aliasing: ***
  7025. This should read "blah": blah
  7026. This should read "this is nifty": this is nifty
  7027. *************************************************
  7028. *** Testing integer operators ***
  7029. Correct result - 8: 8
  7030. Correct result - 8: 8
  7031. Correct result - 2: 2
  7032. Correct result - -2: -2
  7033. Correct result - 15: 15
  7034. Correct result - 15: 15
  7035. Correct result - 2: 2
  7036. Correct result - 3: 3
  7037. *********************************
  7038. *** Testing real operators ***
  7039. Correct result - 8: 8
  7040. Correct result - 8: 8
  7041. Correct result - 2: 2
  7042. Correct result - -2: -2
  7043. Correct result - 15: 15
  7044. Correct result - 15: 15
  7045. Correct result - 2: 2
  7046. Correct result - 3: 3
  7047. *********************************
  7048. *** Testing if/elseif/else control ***
  7049. This works
  7050. this_still_works
  7051. should_print
  7052. *** Seriously nested if's test ***
  7053. ** spelling correction by kluzz **
  7054. Only two lines of text should follow:
  7055. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  7056. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  7057. 3 loop iterations should follow:
  7058. 2 4
  7059. 3 4
  7060. 4 4
  7061. **********************************
  7062. *** C-style else-if's ***
  7063. This should be displayed
  7064. *************************
  7065. *** WHILE tests ***
  7066. 0 is smaller than 20
  7067. 1 is smaller than 20
  7068. 2 is smaller than 20
  7069. 3 is smaller than 20
  7070. 4 is smaller than 20
  7071. 5 is smaller than 20
  7072. 6 is smaller than 20
  7073. 7 is smaller than 20
  7074. 8 is smaller than 20
  7075. 9 is smaller than 20
  7076. 10 is smaller than 20
  7077. 11 is smaller than 20
  7078. 12 is smaller than 20
  7079. 13 is smaller than 20
  7080. 14 is smaller than 20
  7081. 15 is smaller than 20
  7082. 16 is smaller than 20
  7083. 17 is smaller than 20
  7084. 18 is smaller than 20
  7085. 19 is smaller than 20
  7086. 20 equals 20
  7087. 21 is greater than 20
  7088. 22 is greater than 20
  7089. 23 is greater than 20
  7090. 24 is greater than 20
  7091. 25 is greater than 20
  7092. 26 is greater than 20
  7093. 27 is greater than 20
  7094. 28 is greater than 20
  7095. 29 is greater than 20
  7096. 30 is greater than 20
  7097. 31 is greater than 20
  7098. 32 is greater than 20
  7099. 33 is greater than 20
  7100. 34 is greater than 20
  7101. 35 is greater than 20
  7102. 36 is greater than 20
  7103. 37 is greater than 20
  7104. 38 is greater than 20
  7105. 39 is greater than 20
  7106. *******************
  7107. *** Nested WHILEs ***
  7108. Each array variable should be equal to the sum of its indices:
  7109. ${test00}[0] = 0
  7110. ${test00}[1] = 1
  7111. ${test00}[2] = 2
  7112. ${test01}[0] = 1
  7113. ${test01}[1] = 2
  7114. ${test01}[2] = 3
  7115. ${test02}[0] = 2
  7116. ${test02}[1] = 3
  7117. ${test02}[2] = 4
  7118. ${test10}[0] = 1
  7119. ${test10}[1] = 2
  7120. ${test10}[2] = 3
  7121. ${test11}[0] = 2
  7122. ${test11}[1] = 3
  7123. ${test11}[2] = 4
  7124. ${test12}[0] = 3
  7125. ${test12}[1] = 4
  7126. ${test12}[2] = 5
  7127. ${test20}[0] = 2
  7128. ${test20}[1] = 3
  7129. ${test20}[2] = 4
  7130. ${test21}[0] = 3
  7131. ${test21}[1] = 4
  7132. ${test21}[2] = 5
  7133. ${test22}[0] = 4
  7134. ${test22}[1] = 5
  7135. ${test22}[2] = 6
  7136. *********************
  7137. *** hash test... ***
  7138. commented out...
  7139. **************************
  7140. *** Hash resizing test ***
  7141. ba
  7142. baa
  7143. baaa
  7144. baaaa
  7145. baaaaa
  7146. baaaaaa
  7147. baaaaaaa
  7148. baaaaaaaa
  7149. baaaaaaaaa
  7150. baaaaaaaaaa
  7151. ba
  7152. 10
  7153. baa
  7154. 9
  7155. baaa
  7156. 8
  7157. baaaa
  7158. 7
  7159. baaaaa
  7160. 6
  7161. baaaaaa
  7162. 5
  7163. baaaaaaa
  7164. 4
  7165. baaaaaaaa
  7166. 3
  7167. baaaaaaaaa
  7168. 2
  7169. baaaaaaaaaa
  7170. 1
  7171. **************************
  7172. *** break/continue test ***
  7173. $i should go from 0 to 2
  7174. $j should go from 3 to 4, and $q should go from 3 to 4
  7175. $j=3
  7176. $q=3
  7177. $q=4
  7178. $j=4
  7179. $q=3
  7180. $q=4
  7181. $j should go from 0 to 2
  7182. $j=0
  7183. $j=1
  7184. $j=2
  7185. $k should go from 0 to 2
  7186. $k=0
  7187. $k=1
  7188. $k=2
  7189. $i=0
  7190. $j should go from 3 to 4, and $q should go from 3 to 4
  7191. $j=3
  7192. $q=3
  7193. $q=4
  7194. $j=4
  7195. $q=3
  7196. $q=4
  7197. $j should go from 0 to 2
  7198. $j=0
  7199. $j=1
  7200. $j=2
  7201. $k should go from 0 to 2
  7202. $k=0
  7203. $k=1
  7204. $k=2
  7205. $i=1
  7206. $j should go from 3 to 4, and $q should go from 3 to 4
  7207. $j=3
  7208. $q=3
  7209. $q=4
  7210. $j=4
  7211. $q=3
  7212. $q=4
  7213. $j should go from 0 to 2
  7214. $j=0
  7215. $j=1
  7216. $j=2
  7217. $k should go from 0 to 2
  7218. $k=0
  7219. $k=1
  7220. $k=2
  7221. $i=2
  7222. ***********************
  7223. *** Nested file include test ***
  7224. <html>
  7225. This is Finish.phtml. This file is supposed to be included
  7226. from regression_test.phtml. This is normal HTML.
  7227. and this is PHP code, 2+2=4
  7228. </html>
  7229. ********************************
  7230. Tests completed.
  7231. <html>
  7232. <head>
  7233. *** Testing assignments and variable aliasing: ***
  7234. This should read "blah": blah
  7235. This should read "this is nifty": this is nifty
  7236. *************************************************
  7237. *** Testing integer operators ***
  7238. Correct result - 8: 8
  7239. Correct result - 8: 8
  7240. Correct result - 2: 2
  7241. Correct result - -2: -2
  7242. Correct result - 15: 15
  7243. Correct result - 15: 15
  7244. Correct result - 2: 2
  7245. Correct result - 3: 3
  7246. *********************************
  7247. *** Testing real operators ***
  7248. Correct result - 8: 8
  7249. Correct result - 8: 8
  7250. Correct result - 2: 2
  7251. Correct result - -2: -2
  7252. Correct result - 15: 15
  7253. Correct result - 15: 15
  7254. Correct result - 2: 2
  7255. Correct result - 3: 3
  7256. *********************************
  7257. *** Testing if/elseif/else control ***
  7258. This works
  7259. this_still_works
  7260. should_print
  7261. *** Seriously nested if's test ***
  7262. ** spelling correction by kluzz **
  7263. Only two lines of text should follow:
  7264. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  7265. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  7266. 3 loop iterations should follow:
  7267. 2 4
  7268. 3 4
  7269. 4 4
  7270. **********************************
  7271. *** C-style else-if's ***
  7272. This should be displayed
  7273. *************************
  7274. *** WHILE tests ***
  7275. 0 is smaller than 20
  7276. 1 is smaller than 20
  7277. 2 is smaller than 20
  7278. 3 is smaller than 20
  7279. 4 is smaller than 20
  7280. 5 is smaller than 20
  7281. 6 is smaller than 20
  7282. 7 is smaller than 20
  7283. 8 is smaller than 20
  7284. 9 is smaller than 20
  7285. 10 is smaller than 20
  7286. 11 is smaller than 20
  7287. 12 is smaller than 20
  7288. 13 is smaller than 20
  7289. 14 is smaller than 20
  7290. 15 is smaller than 20
  7291. 16 is smaller than 20
  7292. 17 is smaller than 20
  7293. 18 is smaller than 20
  7294. 19 is smaller than 20
  7295. 20 equals 20
  7296. 21 is greater than 20
  7297. 22 is greater than 20
  7298. 23 is greater than 20
  7299. 24 is greater than 20
  7300. 25 is greater than 20
  7301. 26 is greater than 20
  7302. 27 is greater than 20
  7303. 28 is greater than 20
  7304. 29 is greater than 20
  7305. 30 is greater than 20
  7306. 31 is greater than 20
  7307. 32 is greater than 20
  7308. 33 is greater than 20
  7309. 34 is greater than 20
  7310. 35 is greater than 20
  7311. 36 is greater than 20
  7312. 37 is greater than 20
  7313. 38 is greater than 20
  7314. 39 is greater than 20
  7315. *******************
  7316. *** Nested WHILEs ***
  7317. Each array variable should be equal to the sum of its indices:
  7318. ${test00}[0] = 0
  7319. ${test00}[1] = 1
  7320. ${test00}[2] = 2
  7321. ${test01}[0] = 1
  7322. ${test01}[1] = 2
  7323. ${test01}[2] = 3
  7324. ${test02}[0] = 2
  7325. ${test02}[1] = 3
  7326. ${test02}[2] = 4
  7327. ${test10}[0] = 1
  7328. ${test10}[1] = 2
  7329. ${test10}[2] = 3
  7330. ${test11}[0] = 2
  7331. ${test11}[1] = 3
  7332. ${test11}[2] = 4
  7333. ${test12}[0] = 3
  7334. ${test12}[1] = 4
  7335. ${test12}[2] = 5
  7336. ${test20}[0] = 2
  7337. ${test20}[1] = 3
  7338. ${test20}[2] = 4
  7339. ${test21}[0] = 3
  7340. ${test21}[1] = 4
  7341. ${test21}[2] = 5
  7342. ${test22}[0] = 4
  7343. ${test22}[1] = 5
  7344. ${test22}[2] = 6
  7345. *********************
  7346. *** hash test... ***
  7347. commented out...
  7348. **************************
  7349. *** Hash resizing test ***
  7350. ba
  7351. baa
  7352. baaa
  7353. baaaa
  7354. baaaaa
  7355. baaaaaa
  7356. baaaaaaa
  7357. baaaaaaaa
  7358. baaaaaaaaa
  7359. baaaaaaaaaa
  7360. ba
  7361. 10
  7362. baa
  7363. 9
  7364. baaa
  7365. 8
  7366. baaaa
  7367. 7
  7368. baaaaa
  7369. 6
  7370. baaaaaa
  7371. 5
  7372. baaaaaaa
  7373. 4
  7374. baaaaaaaa
  7375. 3
  7376. baaaaaaaaa
  7377. 2
  7378. baaaaaaaaaa
  7379. 1
  7380. **************************
  7381. *** break/continue test ***
  7382. $i should go from 0 to 2
  7383. $j should go from 3 to 4, and $q should go from 3 to 4
  7384. $j=3
  7385. $q=3
  7386. $q=4
  7387. $j=4
  7388. $q=3
  7389. $q=4
  7390. $j should go from 0 to 2
  7391. $j=0
  7392. $j=1
  7393. $j=2
  7394. $k should go from 0 to 2
  7395. $k=0
  7396. $k=1
  7397. $k=2
  7398. $i=0
  7399. $j should go from 3 to 4, and $q should go from 3 to 4
  7400. $j=3
  7401. $q=3
  7402. $q=4
  7403. $j=4
  7404. $q=3
  7405. $q=4
  7406. $j should go from 0 to 2
  7407. $j=0
  7408. $j=1
  7409. $j=2
  7410. $k should go from 0 to 2
  7411. $k=0
  7412. $k=1
  7413. $k=2
  7414. $i=1
  7415. $j should go from 3 to 4, and $q should go from 3 to 4
  7416. $j=3
  7417. $q=3
  7418. $q=4
  7419. $j=4
  7420. $q=3
  7421. $q=4
  7422. $j should go from 0 to 2
  7423. $j=0
  7424. $j=1
  7425. $j=2
  7426. $k should go from 0 to 2
  7427. $k=0
  7428. $k=1
  7429. $k=2
  7430. $i=2
  7431. ***********************
  7432. *** Nested file include test ***
  7433. <html>
  7434. This is Finish.phtml. This file is supposed to be included
  7435. from regression_test.phtml. This is normal HTML.
  7436. and this is PHP code, 2+2=4
  7437. </html>
  7438. ********************************
  7439. Tests completed.
  7440. <html>
  7441. <head>
  7442. *** Testing assignments and variable aliasing: ***
  7443. This should read "blah": blah
  7444. This should read "this is nifty": this is nifty
  7445. *************************************************
  7446. *** Testing integer operators ***
  7447. Correct result - 8: 8
  7448. Correct result - 8: 8
  7449. Correct result - 2: 2
  7450. Correct result - -2: -2
  7451. Correct result - 15: 15
  7452. Correct result - 15: 15
  7453. Correct result - 2: 2
  7454. Correct result - 3: 3
  7455. *********************************
  7456. *** Testing real operators ***
  7457. Correct result - 8: 8
  7458. Correct result - 8: 8
  7459. Correct result - 2: 2
  7460. Correct result - -2: -2
  7461. Correct result - 15: 15
  7462. Correct result - 15: 15
  7463. Correct result - 2: 2
  7464. Correct result - 3: 3
  7465. *********************************
  7466. *** Testing if/elseif/else control ***
  7467. This works
  7468. this_still_works
  7469. should_print
  7470. *** Seriously nested if's test ***
  7471. ** spelling correction by kluzz **
  7472. Only two lines of text should follow:
  7473. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  7474. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  7475. 3 loop iterations should follow:
  7476. 2 4
  7477. 3 4
  7478. 4 4
  7479. **********************************
  7480. *** C-style else-if's ***
  7481. This should be displayed
  7482. *************************
  7483. *** WHILE tests ***
  7484. 0 is smaller than 20
  7485. 1 is smaller than 20
  7486. 2 is smaller than 20
  7487. 3 is smaller than 20
  7488. 4 is smaller than 20
  7489. 5 is smaller than 20
  7490. 6 is smaller than 20
  7491. 7 is smaller than 20
  7492. 8 is smaller than 20
  7493. 9 is smaller than 20
  7494. 10 is smaller than 20
  7495. 11 is smaller than 20
  7496. 12 is smaller than 20
  7497. 13 is smaller than 20
  7498. 14 is smaller than 20
  7499. 15 is smaller than 20
  7500. 16 is smaller than 20
  7501. 17 is smaller than 20
  7502. 18 is smaller than 20
  7503. 19 is smaller than 20
  7504. 20 equals 20
  7505. 21 is greater than 20
  7506. 22 is greater than 20
  7507. 23 is greater than 20
  7508. 24 is greater than 20
  7509. 25 is greater than 20
  7510. 26 is greater than 20
  7511. 27 is greater than 20
  7512. 28 is greater than 20
  7513. 29 is greater than 20
  7514. 30 is greater than 20
  7515. 31 is greater than 20
  7516. 32 is greater than 20
  7517. 33 is greater than 20
  7518. 34 is greater than 20
  7519. 35 is greater than 20
  7520. 36 is greater than 20
  7521. 37 is greater than 20
  7522. 38 is greater than 20
  7523. 39 is greater than 20
  7524. *******************
  7525. *** Nested WHILEs ***
  7526. Each array variable should be equal to the sum of its indices:
  7527. ${test00}[0] = 0
  7528. ${test00}[1] = 1
  7529. ${test00}[2] = 2
  7530. ${test01}[0] = 1
  7531. ${test01}[1] = 2
  7532. ${test01}[2] = 3
  7533. ${test02}[0] = 2
  7534. ${test02}[1] = 3
  7535. ${test02}[2] = 4
  7536. ${test10}[0] = 1
  7537. ${test10}[1] = 2
  7538. ${test10}[2] = 3
  7539. ${test11}[0] = 2
  7540. ${test11}[1] = 3
  7541. ${test11}[2] = 4
  7542. ${test12}[0] = 3
  7543. ${test12}[1] = 4
  7544. ${test12}[2] = 5
  7545. ${test20}[0] = 2
  7546. ${test20}[1] = 3
  7547. ${test20}[2] = 4
  7548. ${test21}[0] = 3
  7549. ${test21}[1] = 4
  7550. ${test21}[2] = 5
  7551. ${test22}[0] = 4
  7552. ${test22}[1] = 5
  7553. ${test22}[2] = 6
  7554. *********************
  7555. *** hash test... ***
  7556. commented out...
  7557. **************************
  7558. *** Hash resizing test ***
  7559. ba
  7560. baa
  7561. baaa
  7562. baaaa
  7563. baaaaa
  7564. baaaaaa
  7565. baaaaaaa
  7566. baaaaaaaa
  7567. baaaaaaaaa
  7568. baaaaaaaaaa
  7569. ba
  7570. 10
  7571. baa
  7572. 9
  7573. baaa
  7574. 8
  7575. baaaa
  7576. 7
  7577. baaaaa
  7578. 6
  7579. baaaaaa
  7580. 5
  7581. baaaaaaa
  7582. 4
  7583. baaaaaaaa
  7584. 3
  7585. baaaaaaaaa
  7586. 2
  7587. baaaaaaaaaa
  7588. 1
  7589. **************************
  7590. *** break/continue test ***
  7591. $i should go from 0 to 2
  7592. $j should go from 3 to 4, and $q should go from 3 to 4
  7593. $j=3
  7594. $q=3
  7595. $q=4
  7596. $j=4
  7597. $q=3
  7598. $q=4
  7599. $j should go from 0 to 2
  7600. $j=0
  7601. $j=1
  7602. $j=2
  7603. $k should go from 0 to 2
  7604. $k=0
  7605. $k=1
  7606. $k=2
  7607. $i=0
  7608. $j should go from 3 to 4, and $q should go from 3 to 4
  7609. $j=3
  7610. $q=3
  7611. $q=4
  7612. $j=4
  7613. $q=3
  7614. $q=4
  7615. $j should go from 0 to 2
  7616. $j=0
  7617. $j=1
  7618. $j=2
  7619. $k should go from 0 to 2
  7620. $k=0
  7621. $k=1
  7622. $k=2
  7623. $i=1
  7624. $j should go from 3 to 4, and $q should go from 3 to 4
  7625. $j=3
  7626. $q=3
  7627. $q=4
  7628. $j=4
  7629. $q=3
  7630. $q=4
  7631. $j should go from 0 to 2
  7632. $j=0
  7633. $j=1
  7634. $j=2
  7635. $k should go from 0 to 2
  7636. $k=0
  7637. $k=1
  7638. $k=2
  7639. $i=2
  7640. ***********************
  7641. *** Nested file include test ***
  7642. <html>
  7643. This is Finish.phtml. This file is supposed to be included
  7644. from regression_test.phtml. This is normal HTML.
  7645. and this is PHP code, 2+2=4
  7646. </html>
  7647. ********************************
  7648. Tests completed.
  7649. <html>
  7650. <head>
  7651. *** Testing assignments and variable aliasing: ***
  7652. This should read "blah": blah
  7653. This should read "this is nifty": this is nifty
  7654. *************************************************
  7655. *** Testing integer operators ***
  7656. Correct result - 8: 8
  7657. Correct result - 8: 8
  7658. Correct result - 2: 2
  7659. Correct result - -2: -2
  7660. Correct result - 15: 15
  7661. Correct result - 15: 15
  7662. Correct result - 2: 2
  7663. Correct result - 3: 3
  7664. *********************************
  7665. *** Testing real operators ***
  7666. Correct result - 8: 8
  7667. Correct result - 8: 8
  7668. Correct result - 2: 2
  7669. Correct result - -2: -2
  7670. Correct result - 15: 15
  7671. Correct result - 15: 15
  7672. Correct result - 2: 2
  7673. Correct result - 3: 3
  7674. *********************************
  7675. *** Testing if/elseif/else control ***
  7676. This works
  7677. this_still_works
  7678. should_print
  7679. *** Seriously nested if's test ***
  7680. ** spelling correction by kluzz **
  7681. Only two lines of text should follow:
  7682. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  7683. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  7684. 3 loop iterations should follow:
  7685. 2 4
  7686. 3 4
  7687. 4 4
  7688. **********************************
  7689. *** C-style else-if's ***
  7690. This should be displayed
  7691. *************************
  7692. *** WHILE tests ***
  7693. 0 is smaller than 20
  7694. 1 is smaller than 20
  7695. 2 is smaller than 20
  7696. 3 is smaller than 20
  7697. 4 is smaller than 20
  7698. 5 is smaller than 20
  7699. 6 is smaller than 20
  7700. 7 is smaller than 20
  7701. 8 is smaller than 20
  7702. 9 is smaller than 20
  7703. 10 is smaller than 20
  7704. 11 is smaller than 20
  7705. 12 is smaller than 20
  7706. 13 is smaller than 20
  7707. 14 is smaller than 20
  7708. 15 is smaller than 20
  7709. 16 is smaller than 20
  7710. 17 is smaller than 20
  7711. 18 is smaller than 20
  7712. 19 is smaller than 20
  7713. 20 equals 20
  7714. 21 is greater than 20
  7715. 22 is greater than 20
  7716. 23 is greater than 20
  7717. 24 is greater than 20
  7718. 25 is greater than 20
  7719. 26 is greater than 20
  7720. 27 is greater than 20
  7721. 28 is greater than 20
  7722. 29 is greater than 20
  7723. 30 is greater than 20
  7724. 31 is greater than 20
  7725. 32 is greater than 20
  7726. 33 is greater than 20
  7727. 34 is greater than 20
  7728. 35 is greater than 20
  7729. 36 is greater than 20
  7730. 37 is greater than 20
  7731. 38 is greater than 20
  7732. 39 is greater than 20
  7733. *******************
  7734. *** Nested WHILEs ***
  7735. Each array variable should be equal to the sum of its indices:
  7736. ${test00}[0] = 0
  7737. ${test00}[1] = 1
  7738. ${test00}[2] = 2
  7739. ${test01}[0] = 1
  7740. ${test01}[1] = 2
  7741. ${test01}[2] = 3
  7742. ${test02}[0] = 2
  7743. ${test02}[1] = 3
  7744. ${test02}[2] = 4
  7745. ${test10}[0] = 1
  7746. ${test10}[1] = 2
  7747. ${test10}[2] = 3
  7748. ${test11}[0] = 2
  7749. ${test11}[1] = 3
  7750. ${test11}[2] = 4
  7751. ${test12}[0] = 3
  7752. ${test12}[1] = 4
  7753. ${test12}[2] = 5
  7754. ${test20}[0] = 2
  7755. ${test20}[1] = 3
  7756. ${test20}[2] = 4
  7757. ${test21}[0] = 3
  7758. ${test21}[1] = 4
  7759. ${test21}[2] = 5
  7760. ${test22}[0] = 4
  7761. ${test22}[1] = 5
  7762. ${test22}[2] = 6
  7763. *********************
  7764. *** hash test... ***
  7765. commented out...
  7766. **************************
  7767. *** Hash resizing test ***
  7768. ba
  7769. baa
  7770. baaa
  7771. baaaa
  7772. baaaaa
  7773. baaaaaa
  7774. baaaaaaa
  7775. baaaaaaaa
  7776. baaaaaaaaa
  7777. baaaaaaaaaa
  7778. ba
  7779. 10
  7780. baa
  7781. 9
  7782. baaa
  7783. 8
  7784. baaaa
  7785. 7
  7786. baaaaa
  7787. 6
  7788. baaaaaa
  7789. 5
  7790. baaaaaaa
  7791. 4
  7792. baaaaaaaa
  7793. 3
  7794. baaaaaaaaa
  7795. 2
  7796. baaaaaaaaaa
  7797. 1
  7798. **************************
  7799. *** break/continue test ***
  7800. $i should go from 0 to 2
  7801. $j should go from 3 to 4, and $q should go from 3 to 4
  7802. $j=3
  7803. $q=3
  7804. $q=4
  7805. $j=4
  7806. $q=3
  7807. $q=4
  7808. $j should go from 0 to 2
  7809. $j=0
  7810. $j=1
  7811. $j=2
  7812. $k should go from 0 to 2
  7813. $k=0
  7814. $k=1
  7815. $k=2
  7816. $i=0
  7817. $j should go from 3 to 4, and $q should go from 3 to 4
  7818. $j=3
  7819. $q=3
  7820. $q=4
  7821. $j=4
  7822. $q=3
  7823. $q=4
  7824. $j should go from 0 to 2
  7825. $j=0
  7826. $j=1
  7827. $j=2
  7828. $k should go from 0 to 2
  7829. $k=0
  7830. $k=1
  7831. $k=2
  7832. $i=1
  7833. $j should go from 3 to 4, and $q should go from 3 to 4
  7834. $j=3
  7835. $q=3
  7836. $q=4
  7837. $j=4
  7838. $q=3
  7839. $q=4
  7840. $j should go from 0 to 2
  7841. $j=0
  7842. $j=1
  7843. $j=2
  7844. $k should go from 0 to 2
  7845. $k=0
  7846. $k=1
  7847. $k=2
  7848. $i=2
  7849. ***********************
  7850. *** Nested file include test ***
  7851. <html>
  7852. This is Finish.phtml. This file is supposed to be included
  7853. from regression_test.phtml. This is normal HTML.
  7854. and this is PHP code, 2+2=4
  7855. </html>
  7856. ********************************
  7857. Tests completed.
  7858. <html>
  7859. <head>
  7860. *** Testing assignments and variable aliasing: ***
  7861. This should read "blah": blah
  7862. This should read "this is nifty": this is nifty
  7863. *************************************************
  7864. *** Testing integer operators ***
  7865. Correct result - 8: 8
  7866. Correct result - 8: 8
  7867. Correct result - 2: 2
  7868. Correct result - -2: -2
  7869. Correct result - 15: 15
  7870. Correct result - 15: 15
  7871. Correct result - 2: 2
  7872. Correct result - 3: 3
  7873. *********************************
  7874. *** Testing real operators ***
  7875. Correct result - 8: 8
  7876. Correct result - 8: 8
  7877. Correct result - 2: 2
  7878. Correct result - -2: -2
  7879. Correct result - 15: 15
  7880. Correct result - 15: 15
  7881. Correct result - 2: 2
  7882. Correct result - 3: 3
  7883. *********************************
  7884. *** Testing if/elseif/else control ***
  7885. This works
  7886. this_still_works
  7887. should_print
  7888. *** Seriously nested if's test ***
  7889. ** spelling correction by kluzz **
  7890. Only two lines of text should follow:
  7891. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  7892. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  7893. 3 loop iterations should follow:
  7894. 2 4
  7895. 3 4
  7896. 4 4
  7897. **********************************
  7898. *** C-style else-if's ***
  7899. This should be displayed
  7900. *************************
  7901. *** WHILE tests ***
  7902. 0 is smaller than 20
  7903. 1 is smaller than 20
  7904. 2 is smaller than 20
  7905. 3 is smaller than 20
  7906. 4 is smaller than 20
  7907. 5 is smaller than 20
  7908. 6 is smaller than 20
  7909. 7 is smaller than 20
  7910. 8 is smaller than 20
  7911. 9 is smaller than 20
  7912. 10 is smaller than 20
  7913. 11 is smaller than 20
  7914. 12 is smaller than 20
  7915. 13 is smaller than 20
  7916. 14 is smaller than 20
  7917. 15 is smaller than 20
  7918. 16 is smaller than 20
  7919. 17 is smaller than 20
  7920. 18 is smaller than 20
  7921. 19 is smaller than 20
  7922. 20 equals 20
  7923. 21 is greater than 20
  7924. 22 is greater than 20
  7925. 23 is greater than 20
  7926. 24 is greater than 20
  7927. 25 is greater than 20
  7928. 26 is greater than 20
  7929. 27 is greater than 20
  7930. 28 is greater than 20
  7931. 29 is greater than 20
  7932. 30 is greater than 20
  7933. 31 is greater than 20
  7934. 32 is greater than 20
  7935. 33 is greater than 20
  7936. 34 is greater than 20
  7937. 35 is greater than 20
  7938. 36 is greater than 20
  7939. 37 is greater than 20
  7940. 38 is greater than 20
  7941. 39 is greater than 20
  7942. *******************
  7943. *** Nested WHILEs ***
  7944. Each array variable should be equal to the sum of its indices:
  7945. ${test00}[0] = 0
  7946. ${test00}[1] = 1
  7947. ${test00}[2] = 2
  7948. ${test01}[0] = 1
  7949. ${test01}[1] = 2
  7950. ${test01}[2] = 3
  7951. ${test02}[0] = 2
  7952. ${test02}[1] = 3
  7953. ${test02}[2] = 4
  7954. ${test10}[0] = 1
  7955. ${test10}[1] = 2
  7956. ${test10}[2] = 3
  7957. ${test11}[0] = 2
  7958. ${test11}[1] = 3
  7959. ${test11}[2] = 4
  7960. ${test12}[0] = 3
  7961. ${test12}[1] = 4
  7962. ${test12}[2] = 5
  7963. ${test20}[0] = 2
  7964. ${test20}[1] = 3
  7965. ${test20}[2] = 4
  7966. ${test21}[0] = 3
  7967. ${test21}[1] = 4
  7968. ${test21}[2] = 5
  7969. ${test22}[0] = 4
  7970. ${test22}[1] = 5
  7971. ${test22}[2] = 6
  7972. *********************
  7973. *** hash test... ***
  7974. commented out...
  7975. **************************
  7976. *** Hash resizing test ***
  7977. ba
  7978. baa
  7979. baaa
  7980. baaaa
  7981. baaaaa
  7982. baaaaaa
  7983. baaaaaaa
  7984. baaaaaaaa
  7985. baaaaaaaaa
  7986. baaaaaaaaaa
  7987. ba
  7988. 10
  7989. baa
  7990. 9
  7991. baaa
  7992. 8
  7993. baaaa
  7994. 7
  7995. baaaaa
  7996. 6
  7997. baaaaaa
  7998. 5
  7999. baaaaaaa
  8000. 4
  8001. baaaaaaaa
  8002. 3
  8003. baaaaaaaaa
  8004. 2
  8005. baaaaaaaaaa
  8006. 1
  8007. **************************
  8008. *** break/continue test ***
  8009. $i should go from 0 to 2
  8010. $j should go from 3 to 4, and $q should go from 3 to 4
  8011. $j=3
  8012. $q=3
  8013. $q=4
  8014. $j=4
  8015. $q=3
  8016. $q=4
  8017. $j should go from 0 to 2
  8018. $j=0
  8019. $j=1
  8020. $j=2
  8021. $k should go from 0 to 2
  8022. $k=0
  8023. $k=1
  8024. $k=2
  8025. $i=0
  8026. $j should go from 3 to 4, and $q should go from 3 to 4
  8027. $j=3
  8028. $q=3
  8029. $q=4
  8030. $j=4
  8031. $q=3
  8032. $q=4
  8033. $j should go from 0 to 2
  8034. $j=0
  8035. $j=1
  8036. $j=2
  8037. $k should go from 0 to 2
  8038. $k=0
  8039. $k=1
  8040. $k=2
  8041. $i=1
  8042. $j should go from 3 to 4, and $q should go from 3 to 4
  8043. $j=3
  8044. $q=3
  8045. $q=4
  8046. $j=4
  8047. $q=3
  8048. $q=4
  8049. $j should go from 0 to 2
  8050. $j=0
  8051. $j=1
  8052. $j=2
  8053. $k should go from 0 to 2
  8054. $k=0
  8055. $k=1
  8056. $k=2
  8057. $i=2
  8058. ***********************
  8059. *** Nested file include test ***
  8060. <html>
  8061. This is Finish.phtml. This file is supposed to be included
  8062. from regression_test.phtml. This is normal HTML.
  8063. and this is PHP code, 2+2=4
  8064. </html>
  8065. ********************************
  8066. Tests completed.
  8067. <html>
  8068. <head>
  8069. *** Testing assignments and variable aliasing: ***
  8070. This should read "blah": blah
  8071. This should read "this is nifty": this is nifty
  8072. *************************************************
  8073. *** Testing integer operators ***
  8074. Correct result - 8: 8
  8075. Correct result - 8: 8
  8076. Correct result - 2: 2
  8077. Correct result - -2: -2
  8078. Correct result - 15: 15
  8079. Correct result - 15: 15
  8080. Correct result - 2: 2
  8081. Correct result - 3: 3
  8082. *********************************
  8083. *** Testing real operators ***
  8084. Correct result - 8: 8
  8085. Correct result - 8: 8
  8086. Correct result - 2: 2
  8087. Correct result - -2: -2
  8088. Correct result - 15: 15
  8089. Correct result - 15: 15
  8090. Correct result - 2: 2
  8091. Correct result - 3: 3
  8092. *********************************
  8093. *** Testing if/elseif/else control ***
  8094. This works
  8095. this_still_works
  8096. should_print
  8097. *** Seriously nested if's test ***
  8098. ** spelling correction by kluzz **
  8099. Only two lines of text should follow:
  8100. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  8101. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  8102. 3 loop iterations should follow:
  8103. 2 4
  8104. 3 4
  8105. 4 4
  8106. **********************************
  8107. *** C-style else-if's ***
  8108. This should be displayed
  8109. *************************
  8110. *** WHILE tests ***
  8111. 0 is smaller than 20
  8112. 1 is smaller than 20
  8113. 2 is smaller than 20
  8114. 3 is smaller than 20
  8115. 4 is smaller than 20
  8116. 5 is smaller than 20
  8117. 6 is smaller than 20
  8118. 7 is smaller than 20
  8119. 8 is smaller than 20
  8120. 9 is smaller than 20
  8121. 10 is smaller than 20
  8122. 11 is smaller than 20
  8123. 12 is smaller than 20
  8124. 13 is smaller than 20
  8125. 14 is smaller than 20
  8126. 15 is smaller than 20
  8127. 16 is smaller than 20
  8128. 17 is smaller than 20
  8129. 18 is smaller than 20
  8130. 19 is smaller than 20
  8131. 20 equals 20
  8132. 21 is greater than 20
  8133. 22 is greater than 20
  8134. 23 is greater than 20
  8135. 24 is greater than 20
  8136. 25 is greater than 20
  8137. 26 is greater than 20
  8138. 27 is greater than 20
  8139. 28 is greater than 20
  8140. 29 is greater than 20
  8141. 30 is greater than 20
  8142. 31 is greater than 20
  8143. 32 is greater than 20
  8144. 33 is greater than 20
  8145. 34 is greater than 20
  8146. 35 is greater than 20
  8147. 36 is greater than 20
  8148. 37 is greater than 20
  8149. 38 is greater than 20
  8150. 39 is greater than 20
  8151. *******************
  8152. *** Nested WHILEs ***
  8153. Each array variable should be equal to the sum of its indices:
  8154. ${test00}[0] = 0
  8155. ${test00}[1] = 1
  8156. ${test00}[2] = 2
  8157. ${test01}[0] = 1
  8158. ${test01}[1] = 2
  8159. ${test01}[2] = 3
  8160. ${test02}[0] = 2
  8161. ${test02}[1] = 3
  8162. ${test02}[2] = 4
  8163. ${test10}[0] = 1
  8164. ${test10}[1] = 2
  8165. ${test10}[2] = 3
  8166. ${test11}[0] = 2
  8167. ${test11}[1] = 3
  8168. ${test11}[2] = 4
  8169. ${test12}[0] = 3
  8170. ${test12}[1] = 4
  8171. ${test12}[2] = 5
  8172. ${test20}[0] = 2
  8173. ${test20}[1] = 3
  8174. ${test20}[2] = 4
  8175. ${test21}[0] = 3
  8176. ${test21}[1] = 4
  8177. ${test21}[2] = 5
  8178. ${test22}[0] = 4
  8179. ${test22}[1] = 5
  8180. ${test22}[2] = 6
  8181. *********************
  8182. *** hash test... ***
  8183. commented out...
  8184. **************************
  8185. *** Hash resizing test ***
  8186. ba
  8187. baa
  8188. baaa
  8189. baaaa
  8190. baaaaa
  8191. baaaaaa
  8192. baaaaaaa
  8193. baaaaaaaa
  8194. baaaaaaaaa
  8195. baaaaaaaaaa
  8196. ba
  8197. 10
  8198. baa
  8199. 9
  8200. baaa
  8201. 8
  8202. baaaa
  8203. 7
  8204. baaaaa
  8205. 6
  8206. baaaaaa
  8207. 5
  8208. baaaaaaa
  8209. 4
  8210. baaaaaaaa
  8211. 3
  8212. baaaaaaaaa
  8213. 2
  8214. baaaaaaaaaa
  8215. 1
  8216. **************************
  8217. *** break/continue test ***
  8218. $i should go from 0 to 2
  8219. $j should go from 3 to 4, and $q should go from 3 to 4
  8220. $j=3
  8221. $q=3
  8222. $q=4
  8223. $j=4
  8224. $q=3
  8225. $q=4
  8226. $j should go from 0 to 2
  8227. $j=0
  8228. $j=1
  8229. $j=2
  8230. $k should go from 0 to 2
  8231. $k=0
  8232. $k=1
  8233. $k=2
  8234. $i=0
  8235. $j should go from 3 to 4, and $q should go from 3 to 4
  8236. $j=3
  8237. $q=3
  8238. $q=4
  8239. $j=4
  8240. $q=3
  8241. $q=4
  8242. $j should go from 0 to 2
  8243. $j=0
  8244. $j=1
  8245. $j=2
  8246. $k should go from 0 to 2
  8247. $k=0
  8248. $k=1
  8249. $k=2
  8250. $i=1
  8251. $j should go from 3 to 4, and $q should go from 3 to 4
  8252. $j=3
  8253. $q=3
  8254. $q=4
  8255. $j=4
  8256. $q=3
  8257. $q=4
  8258. $j should go from 0 to 2
  8259. $j=0
  8260. $j=1
  8261. $j=2
  8262. $k should go from 0 to 2
  8263. $k=0
  8264. $k=1
  8265. $k=2
  8266. $i=2
  8267. ***********************
  8268. *** Nested file include test ***
  8269. <html>
  8270. This is Finish.phtml. This file is supposed to be included
  8271. from regression_test.phtml. This is normal HTML.
  8272. and this is PHP code, 2+2=4
  8273. </html>
  8274. ********************************
  8275. Tests completed.
  8276. <html>
  8277. <head>
  8278. *** Testing assignments and variable aliasing: ***
  8279. This should read "blah": blah
  8280. This should read "this is nifty": this is nifty
  8281. *************************************************
  8282. *** Testing integer operators ***
  8283. Correct result - 8: 8
  8284. Correct result - 8: 8
  8285. Correct result - 2: 2
  8286. Correct result - -2: -2
  8287. Correct result - 15: 15
  8288. Correct result - 15: 15
  8289. Correct result - 2: 2
  8290. Correct result - 3: 3
  8291. *********************************
  8292. *** Testing real operators ***
  8293. Correct result - 8: 8
  8294. Correct result - 8: 8
  8295. Correct result - 2: 2
  8296. Correct result - -2: -2
  8297. Correct result - 15: 15
  8298. Correct result - 15: 15
  8299. Correct result - 2: 2
  8300. Correct result - 3: 3
  8301. *********************************
  8302. *** Testing if/elseif/else control ***
  8303. This works
  8304. this_still_works
  8305. should_print
  8306. *** Seriously nested if's test ***
  8307. ** spelling correction by kluzz **
  8308. Only two lines of text should follow:
  8309. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  8310. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  8311. 3 loop iterations should follow:
  8312. 2 4
  8313. 3 4
  8314. 4 4
  8315. **********************************
  8316. *** C-style else-if's ***
  8317. This should be displayed
  8318. *************************
  8319. *** WHILE tests ***
  8320. 0 is smaller than 20
  8321. 1 is smaller than 20
  8322. 2 is smaller than 20
  8323. 3 is smaller than 20
  8324. 4 is smaller than 20
  8325. 5 is smaller than 20
  8326. 6 is smaller than 20
  8327. 7 is smaller than 20
  8328. 8 is smaller than 20
  8329. 9 is smaller than 20
  8330. 10 is smaller than 20
  8331. 11 is smaller than 20
  8332. 12 is smaller than 20
  8333. 13 is smaller than 20
  8334. 14 is smaller than 20
  8335. 15 is smaller than 20
  8336. 16 is smaller than 20
  8337. 17 is smaller than 20
  8338. 18 is smaller than 20
  8339. 19 is smaller than 20
  8340. 20 equals 20
  8341. 21 is greater than 20
  8342. 22 is greater than 20
  8343. 23 is greater than 20
  8344. 24 is greater than 20
  8345. 25 is greater than 20
  8346. 26 is greater than 20
  8347. 27 is greater than 20
  8348. 28 is greater than 20
  8349. 29 is greater than 20
  8350. 30 is greater than 20
  8351. 31 is greater than 20
  8352. 32 is greater than 20
  8353. 33 is greater than 20
  8354. 34 is greater than 20
  8355. 35 is greater than 20
  8356. 36 is greater than 20
  8357. 37 is greater than 20
  8358. 38 is greater than 20
  8359. 39 is greater than 20
  8360. *******************
  8361. *** Nested WHILEs ***
  8362. Each array variable should be equal to the sum of its indices:
  8363. ${test00}[0] = 0
  8364. ${test00}[1] = 1
  8365. ${test00}[2] = 2
  8366. ${test01}[0] = 1
  8367. ${test01}[1] = 2
  8368. ${test01}[2] = 3
  8369. ${test02}[0] = 2
  8370. ${test02}[1] = 3
  8371. ${test02}[2] = 4
  8372. ${test10}[0] = 1
  8373. ${test10}[1] = 2
  8374. ${test10}[2] = 3
  8375. ${test11}[0] = 2
  8376. ${test11}[1] = 3
  8377. ${test11}[2] = 4
  8378. ${test12}[0] = 3
  8379. ${test12}[1] = 4
  8380. ${test12}[2] = 5
  8381. ${test20}[0] = 2
  8382. ${test20}[1] = 3
  8383. ${test20}[2] = 4
  8384. ${test21}[0] = 3
  8385. ${test21}[1] = 4
  8386. ${test21}[2] = 5
  8387. ${test22}[0] = 4
  8388. ${test22}[1] = 5
  8389. ${test22}[2] = 6
  8390. *********************
  8391. *** hash test... ***
  8392. commented out...
  8393. **************************
  8394. *** Hash resizing test ***
  8395. ba
  8396. baa
  8397. baaa
  8398. baaaa
  8399. baaaaa
  8400. baaaaaa
  8401. baaaaaaa
  8402. baaaaaaaa
  8403. baaaaaaaaa
  8404. baaaaaaaaaa
  8405. ba
  8406. 10
  8407. baa
  8408. 9
  8409. baaa
  8410. 8
  8411. baaaa
  8412. 7
  8413. baaaaa
  8414. 6
  8415. baaaaaa
  8416. 5
  8417. baaaaaaa
  8418. 4
  8419. baaaaaaaa
  8420. 3
  8421. baaaaaaaaa
  8422. 2
  8423. baaaaaaaaaa
  8424. 1
  8425. **************************
  8426. *** break/continue test ***
  8427. $i should go from 0 to 2
  8428. $j should go from 3 to 4, and $q should go from 3 to 4
  8429. $j=3
  8430. $q=3
  8431. $q=4
  8432. $j=4
  8433. $q=3
  8434. $q=4
  8435. $j should go from 0 to 2
  8436. $j=0
  8437. $j=1
  8438. $j=2
  8439. $k should go from 0 to 2
  8440. $k=0
  8441. $k=1
  8442. $k=2
  8443. $i=0
  8444. $j should go from 3 to 4, and $q should go from 3 to 4
  8445. $j=3
  8446. $q=3
  8447. $q=4
  8448. $j=4
  8449. $q=3
  8450. $q=4
  8451. $j should go from 0 to 2
  8452. $j=0
  8453. $j=1
  8454. $j=2
  8455. $k should go from 0 to 2
  8456. $k=0
  8457. $k=1
  8458. $k=2
  8459. $i=1
  8460. $j should go from 3 to 4, and $q should go from 3 to 4
  8461. $j=3
  8462. $q=3
  8463. $q=4
  8464. $j=4
  8465. $q=3
  8466. $q=4
  8467. $j should go from 0 to 2
  8468. $j=0
  8469. $j=1
  8470. $j=2
  8471. $k should go from 0 to 2
  8472. $k=0
  8473. $k=1
  8474. $k=2
  8475. $i=2
  8476. ***********************
  8477. *** Nested file include test ***
  8478. <html>
  8479. This is Finish.phtml. This file is supposed to be included
  8480. from regression_test.phtml. This is normal HTML.
  8481. and this is PHP code, 2+2=4
  8482. </html>
  8483. ********************************
  8484. Tests completed.
  8485. <html>
  8486. <head>
  8487. *** Testing assignments and variable aliasing: ***
  8488. This should read "blah": blah
  8489. This should read "this is nifty": this is nifty
  8490. *************************************************
  8491. *** Testing integer operators ***
  8492. Correct result - 8: 8
  8493. Correct result - 8: 8
  8494. Correct result - 2: 2
  8495. Correct result - -2: -2
  8496. Correct result - 15: 15
  8497. Correct result - 15: 15
  8498. Correct result - 2: 2
  8499. Correct result - 3: 3
  8500. *********************************
  8501. *** Testing real operators ***
  8502. Correct result - 8: 8
  8503. Correct result - 8: 8
  8504. Correct result - 2: 2
  8505. Correct result - -2: -2
  8506. Correct result - 15: 15
  8507. Correct result - 15: 15
  8508. Correct result - 2: 2
  8509. Correct result - 3: 3
  8510. *********************************
  8511. *** Testing if/elseif/else control ***
  8512. This works
  8513. this_still_works
  8514. should_print
  8515. *** Seriously nested if's test ***
  8516. ** spelling correction by kluzz **
  8517. Only two lines of text should follow:
  8518. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  8519. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  8520. 3 loop iterations should follow:
  8521. 2 4
  8522. 3 4
  8523. 4 4
  8524. **********************************
  8525. *** C-style else-if's ***
  8526. This should be displayed
  8527. *************************
  8528. *** WHILE tests ***
  8529. 0 is smaller than 20
  8530. 1 is smaller than 20
  8531. 2 is smaller than 20
  8532. 3 is smaller than 20
  8533. 4 is smaller than 20
  8534. 5 is smaller than 20
  8535. 6 is smaller than 20
  8536. 7 is smaller than 20
  8537. 8 is smaller than 20
  8538. 9 is smaller than 20
  8539. 10 is smaller than 20
  8540. 11 is smaller than 20
  8541. 12 is smaller than 20
  8542. 13 is smaller than 20
  8543. 14 is smaller than 20
  8544. 15 is smaller than 20
  8545. 16 is smaller than 20
  8546. 17 is smaller than 20
  8547. 18 is smaller than 20
  8548. 19 is smaller than 20
  8549. 20 equals 20
  8550. 21 is greater than 20
  8551. 22 is greater than 20
  8552. 23 is greater than 20
  8553. 24 is greater than 20
  8554. 25 is greater than 20
  8555. 26 is greater than 20
  8556. 27 is greater than 20
  8557. 28 is greater than 20
  8558. 29 is greater than 20
  8559. 30 is greater than 20
  8560. 31 is greater than 20
  8561. 32 is greater than 20
  8562. 33 is greater than 20
  8563. 34 is greater than 20
  8564. 35 is greater than 20
  8565. 36 is greater than 20
  8566. 37 is greater than 20
  8567. 38 is greater than 20
  8568. 39 is greater than 20
  8569. *******************
  8570. *** Nested WHILEs ***
  8571. Each array variable should be equal to the sum of its indices:
  8572. ${test00}[0] = 0
  8573. ${test00}[1] = 1
  8574. ${test00}[2] = 2
  8575. ${test01}[0] = 1
  8576. ${test01}[1] = 2
  8577. ${test01}[2] = 3
  8578. ${test02}[0] = 2
  8579. ${test02}[1] = 3
  8580. ${test02}[2] = 4
  8581. ${test10}[0] = 1
  8582. ${test10}[1] = 2
  8583. ${test10}[2] = 3
  8584. ${test11}[0] = 2
  8585. ${test11}[1] = 3
  8586. ${test11}[2] = 4
  8587. ${test12}[0] = 3
  8588. ${test12}[1] = 4
  8589. ${test12}[2] = 5
  8590. ${test20}[0] = 2
  8591. ${test20}[1] = 3
  8592. ${test20}[2] = 4
  8593. ${test21}[0] = 3
  8594. ${test21}[1] = 4
  8595. ${test21}[2] = 5
  8596. ${test22}[0] = 4
  8597. ${test22}[1] = 5
  8598. ${test22}[2] = 6
  8599. *********************
  8600. *** hash test... ***
  8601. commented out...
  8602. **************************
  8603. *** Hash resizing test ***
  8604. ba
  8605. baa
  8606. baaa
  8607. baaaa
  8608. baaaaa
  8609. baaaaaa
  8610. baaaaaaa
  8611. baaaaaaaa
  8612. baaaaaaaaa
  8613. baaaaaaaaaa
  8614. ba
  8615. 10
  8616. baa
  8617. 9
  8618. baaa
  8619. 8
  8620. baaaa
  8621. 7
  8622. baaaaa
  8623. 6
  8624. baaaaaa
  8625. 5
  8626. baaaaaaa
  8627. 4
  8628. baaaaaaaa
  8629. 3
  8630. baaaaaaaaa
  8631. 2
  8632. baaaaaaaaaa
  8633. 1
  8634. **************************
  8635. *** break/continue test ***
  8636. $i should go from 0 to 2
  8637. $j should go from 3 to 4, and $q should go from 3 to 4
  8638. $j=3
  8639. $q=3
  8640. $q=4
  8641. $j=4
  8642. $q=3
  8643. $q=4
  8644. $j should go from 0 to 2
  8645. $j=0
  8646. $j=1
  8647. $j=2
  8648. $k should go from 0 to 2
  8649. $k=0
  8650. $k=1
  8651. $k=2
  8652. $i=0
  8653. $j should go from 3 to 4, and $q should go from 3 to 4
  8654. $j=3
  8655. $q=3
  8656. $q=4
  8657. $j=4
  8658. $q=3
  8659. $q=4
  8660. $j should go from 0 to 2
  8661. $j=0
  8662. $j=1
  8663. $j=2
  8664. $k should go from 0 to 2
  8665. $k=0
  8666. $k=1
  8667. $k=2
  8668. $i=1
  8669. $j should go from 3 to 4, and $q should go from 3 to 4
  8670. $j=3
  8671. $q=3
  8672. $q=4
  8673. $j=4
  8674. $q=3
  8675. $q=4
  8676. $j should go from 0 to 2
  8677. $j=0
  8678. $j=1
  8679. $j=2
  8680. $k should go from 0 to 2
  8681. $k=0
  8682. $k=1
  8683. $k=2
  8684. $i=2
  8685. ***********************
  8686. *** Nested file include test ***
  8687. <html>
  8688. This is Finish.phtml. This file is supposed to be included
  8689. from regression_test.phtml. This is normal HTML.
  8690. and this is PHP code, 2+2=4
  8691. </html>
  8692. ********************************
  8693. Tests completed.
  8694. <html>
  8695. <head>
  8696. *** Testing assignments and variable aliasing: ***
  8697. This should read "blah": blah
  8698. This should read "this is nifty": this is nifty
  8699. *************************************************
  8700. *** Testing integer operators ***
  8701. Correct result - 8: 8
  8702. Correct result - 8: 8
  8703. Correct result - 2: 2
  8704. Correct result - -2: -2
  8705. Correct result - 15: 15
  8706. Correct result - 15: 15
  8707. Correct result - 2: 2
  8708. Correct result - 3: 3
  8709. *********************************
  8710. *** Testing real operators ***
  8711. Correct result - 8: 8
  8712. Correct result - 8: 8
  8713. Correct result - 2: 2
  8714. Correct result - -2: -2
  8715. Correct result - 15: 15
  8716. Correct result - 15: 15
  8717. Correct result - 2: 2
  8718. Correct result - 3: 3
  8719. *********************************
  8720. *** Testing if/elseif/else control ***
  8721. This works
  8722. this_still_works
  8723. should_print
  8724. *** Seriously nested if's test ***
  8725. ** spelling correction by kluzz **
  8726. Only two lines of text should follow:
  8727. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  8728. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  8729. 3 loop iterations should follow:
  8730. 2 4
  8731. 3 4
  8732. 4 4
  8733. **********************************
  8734. *** C-style else-if's ***
  8735. This should be displayed
  8736. *************************
  8737. *** WHILE tests ***
  8738. 0 is smaller than 20
  8739. 1 is smaller than 20
  8740. 2 is smaller than 20
  8741. 3 is smaller than 20
  8742. 4 is smaller than 20
  8743. 5 is smaller than 20
  8744. 6 is smaller than 20
  8745. 7 is smaller than 20
  8746. 8 is smaller than 20
  8747. 9 is smaller than 20
  8748. 10 is smaller than 20
  8749. 11 is smaller than 20
  8750. 12 is smaller than 20
  8751. 13 is smaller than 20
  8752. 14 is smaller than 20
  8753. 15 is smaller than 20
  8754. 16 is smaller than 20
  8755. 17 is smaller than 20
  8756. 18 is smaller than 20
  8757. 19 is smaller than 20
  8758. 20 equals 20
  8759. 21 is greater than 20
  8760. 22 is greater than 20
  8761. 23 is greater than 20
  8762. 24 is greater than 20
  8763. 25 is greater than 20
  8764. 26 is greater than 20
  8765. 27 is greater than 20
  8766. 28 is greater than 20
  8767. 29 is greater than 20
  8768. 30 is greater than 20
  8769. 31 is greater than 20
  8770. 32 is greater than 20
  8771. 33 is greater than 20
  8772. 34 is greater than 20
  8773. 35 is greater than 20
  8774. 36 is greater than 20
  8775. 37 is greater than 20
  8776. 38 is greater than 20
  8777. 39 is greater than 20
  8778. *******************
  8779. *** Nested WHILEs ***
  8780. Each array variable should be equal to the sum of its indices:
  8781. ${test00}[0] = 0
  8782. ${test00}[1] = 1
  8783. ${test00}[2] = 2
  8784. ${test01}[0] = 1
  8785. ${test01}[1] = 2
  8786. ${test01}[2] = 3
  8787. ${test02}[0] = 2
  8788. ${test02}[1] = 3
  8789. ${test02}[2] = 4
  8790. ${test10}[0] = 1
  8791. ${test10}[1] = 2
  8792. ${test10}[2] = 3
  8793. ${test11}[0] = 2
  8794. ${test11}[1] = 3
  8795. ${test11}[2] = 4
  8796. ${test12}[0] = 3
  8797. ${test12}[1] = 4
  8798. ${test12}[2] = 5
  8799. ${test20}[0] = 2
  8800. ${test20}[1] = 3
  8801. ${test20}[2] = 4
  8802. ${test21}[0] = 3
  8803. ${test21}[1] = 4
  8804. ${test21}[2] = 5
  8805. ${test22}[0] = 4
  8806. ${test22}[1] = 5
  8807. ${test22}[2] = 6
  8808. *********************
  8809. *** hash test... ***
  8810. commented out...
  8811. **************************
  8812. *** Hash resizing test ***
  8813. ba
  8814. baa
  8815. baaa
  8816. baaaa
  8817. baaaaa
  8818. baaaaaa
  8819. baaaaaaa
  8820. baaaaaaaa
  8821. baaaaaaaaa
  8822. baaaaaaaaaa
  8823. ba
  8824. 10
  8825. baa
  8826. 9
  8827. baaa
  8828. 8
  8829. baaaa
  8830. 7
  8831. baaaaa
  8832. 6
  8833. baaaaaa
  8834. 5
  8835. baaaaaaa
  8836. 4
  8837. baaaaaaaa
  8838. 3
  8839. baaaaaaaaa
  8840. 2
  8841. baaaaaaaaaa
  8842. 1
  8843. **************************
  8844. *** break/continue test ***
  8845. $i should go from 0 to 2
  8846. $j should go from 3 to 4, and $q should go from 3 to 4
  8847. $j=3
  8848. $q=3
  8849. $q=4
  8850. $j=4
  8851. $q=3
  8852. $q=4
  8853. $j should go from 0 to 2
  8854. $j=0
  8855. $j=1
  8856. $j=2
  8857. $k should go from 0 to 2
  8858. $k=0
  8859. $k=1
  8860. $k=2
  8861. $i=0
  8862. $j should go from 3 to 4, and $q should go from 3 to 4
  8863. $j=3
  8864. $q=3
  8865. $q=4
  8866. $j=4
  8867. $q=3
  8868. $q=4
  8869. $j should go from 0 to 2
  8870. $j=0
  8871. $j=1
  8872. $j=2
  8873. $k should go from 0 to 2
  8874. $k=0
  8875. $k=1
  8876. $k=2
  8877. $i=1
  8878. $j should go from 3 to 4, and $q should go from 3 to 4
  8879. $j=3
  8880. $q=3
  8881. $q=4
  8882. $j=4
  8883. $q=3
  8884. $q=4
  8885. $j should go from 0 to 2
  8886. $j=0
  8887. $j=1
  8888. $j=2
  8889. $k should go from 0 to 2
  8890. $k=0
  8891. $k=1
  8892. $k=2
  8893. $i=2
  8894. ***********************
  8895. *** Nested file include test ***
  8896. <html>
  8897. This is Finish.phtml. This file is supposed to be included
  8898. from regression_test.phtml. This is normal HTML.
  8899. and this is PHP code, 2+2=4
  8900. </html>
  8901. ********************************
  8902. Tests completed.
  8903. <html>
  8904. <head>
  8905. *** Testing assignments and variable aliasing: ***
  8906. This should read "blah": blah
  8907. This should read "this is nifty": this is nifty
  8908. *************************************************
  8909. *** Testing integer operators ***
  8910. Correct result - 8: 8
  8911. Correct result - 8: 8
  8912. Correct result - 2: 2
  8913. Correct result - -2: -2
  8914. Correct result - 15: 15
  8915. Correct result - 15: 15
  8916. Correct result - 2: 2
  8917. Correct result - 3: 3
  8918. *********************************
  8919. *** Testing real operators ***
  8920. Correct result - 8: 8
  8921. Correct result - 8: 8
  8922. Correct result - 2: 2
  8923. Correct result - -2: -2
  8924. Correct result - 15: 15
  8925. Correct result - 15: 15
  8926. Correct result - 2: 2
  8927. Correct result - 3: 3
  8928. *********************************
  8929. *** Testing if/elseif/else control ***
  8930. This works
  8931. this_still_works
  8932. should_print
  8933. *** Seriously nested if's test ***
  8934. ** spelling correction by kluzz **
  8935. Only two lines of text should follow:
  8936. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  8937. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  8938. 3 loop iterations should follow:
  8939. 2 4
  8940. 3 4
  8941. 4 4
  8942. **********************************
  8943. *** C-style else-if's ***
  8944. This should be displayed
  8945. *************************
  8946. *** WHILE tests ***
  8947. 0 is smaller than 20
  8948. 1 is smaller than 20
  8949. 2 is smaller than 20
  8950. 3 is smaller than 20
  8951. 4 is smaller than 20
  8952. 5 is smaller than 20
  8953. 6 is smaller than 20
  8954. 7 is smaller than 20
  8955. 8 is smaller than 20
  8956. 9 is smaller than 20
  8957. 10 is smaller than 20
  8958. 11 is smaller than 20
  8959. 12 is smaller than 20
  8960. 13 is smaller than 20
  8961. 14 is smaller than 20
  8962. 15 is smaller than 20
  8963. 16 is smaller than 20
  8964. 17 is smaller than 20
  8965. 18 is smaller than 20
  8966. 19 is smaller than 20
  8967. 20 equals 20
  8968. 21 is greater than 20
  8969. 22 is greater than 20
  8970. 23 is greater than 20
  8971. 24 is greater than 20
  8972. 25 is greater than 20
  8973. 26 is greater than 20
  8974. 27 is greater than 20
  8975. 28 is greater than 20
  8976. 29 is greater than 20
  8977. 30 is greater than 20
  8978. 31 is greater than 20
  8979. 32 is greater than 20
  8980. 33 is greater than 20
  8981. 34 is greater than 20
  8982. 35 is greater than 20
  8983. 36 is greater than 20
  8984. 37 is greater than 20
  8985. 38 is greater than 20
  8986. 39 is greater than 20
  8987. *******************
  8988. *** Nested WHILEs ***
  8989. Each array variable should be equal to the sum of its indices:
  8990. ${test00}[0] = 0
  8991. ${test00}[1] = 1
  8992. ${test00}[2] = 2
  8993. ${test01}[0] = 1
  8994. ${test01}[1] = 2
  8995. ${test01}[2] = 3
  8996. ${test02}[0] = 2
  8997. ${test02}[1] = 3
  8998. ${test02}[2] = 4
  8999. ${test10}[0] = 1
  9000. ${test10}[1] = 2
  9001. ${test10}[2] = 3
  9002. ${test11}[0] = 2
  9003. ${test11}[1] = 3
  9004. ${test11}[2] = 4
  9005. ${test12}[0] = 3
  9006. ${test12}[1] = 4
  9007. ${test12}[2] = 5
  9008. ${test20}[0] = 2
  9009. ${test20}[1] = 3
  9010. ${test20}[2] = 4
  9011. ${test21}[0] = 3
  9012. ${test21}[1] = 4
  9013. ${test21}[2] = 5
  9014. ${test22}[0] = 4
  9015. ${test22}[1] = 5
  9016. ${test22}[2] = 6
  9017. *********************
  9018. *** hash test... ***
  9019. commented out...
  9020. **************************
  9021. *** Hash resizing test ***
  9022. ba
  9023. baa
  9024. baaa
  9025. baaaa
  9026. baaaaa
  9027. baaaaaa
  9028. baaaaaaa
  9029. baaaaaaaa
  9030. baaaaaaaaa
  9031. baaaaaaaaaa
  9032. ba
  9033. 10
  9034. baa
  9035. 9
  9036. baaa
  9037. 8
  9038. baaaa
  9039. 7
  9040. baaaaa
  9041. 6
  9042. baaaaaa
  9043. 5
  9044. baaaaaaa
  9045. 4
  9046. baaaaaaaa
  9047. 3
  9048. baaaaaaaaa
  9049. 2
  9050. baaaaaaaaaa
  9051. 1
  9052. **************************
  9053. *** break/continue test ***
  9054. $i should go from 0 to 2
  9055. $j should go from 3 to 4, and $q should go from 3 to 4
  9056. $j=3
  9057. $q=3
  9058. $q=4
  9059. $j=4
  9060. $q=3
  9061. $q=4
  9062. $j should go from 0 to 2
  9063. $j=0
  9064. $j=1
  9065. $j=2
  9066. $k should go from 0 to 2
  9067. $k=0
  9068. $k=1
  9069. $k=2
  9070. $i=0
  9071. $j should go from 3 to 4, and $q should go from 3 to 4
  9072. $j=3
  9073. $q=3
  9074. $q=4
  9075. $j=4
  9076. $q=3
  9077. $q=4
  9078. $j should go from 0 to 2
  9079. $j=0
  9080. $j=1
  9081. $j=2
  9082. $k should go from 0 to 2
  9083. $k=0
  9084. $k=1
  9085. $k=2
  9086. $i=1
  9087. $j should go from 3 to 4, and $q should go from 3 to 4
  9088. $j=3
  9089. $q=3
  9090. $q=4
  9091. $j=4
  9092. $q=3
  9093. $q=4
  9094. $j should go from 0 to 2
  9095. $j=0
  9096. $j=1
  9097. $j=2
  9098. $k should go from 0 to 2
  9099. $k=0
  9100. $k=1
  9101. $k=2
  9102. $i=2
  9103. ***********************
  9104. *** Nested file include test ***
  9105. <html>
  9106. This is Finish.phtml. This file is supposed to be included
  9107. from regression_test.phtml. This is normal HTML.
  9108. and this is PHP code, 2+2=4
  9109. </html>
  9110. ********************************
  9111. Tests completed.
  9112. <html>
  9113. <head>
  9114. *** Testing assignments and variable aliasing: ***
  9115. This should read "blah": blah
  9116. This should read "this is nifty": this is nifty
  9117. *************************************************
  9118. *** Testing integer operators ***
  9119. Correct result - 8: 8
  9120. Correct result - 8: 8
  9121. Correct result - 2: 2
  9122. Correct result - -2: -2
  9123. Correct result - 15: 15
  9124. Correct result - 15: 15
  9125. Correct result - 2: 2
  9126. Correct result - 3: 3
  9127. *********************************
  9128. *** Testing real operators ***
  9129. Correct result - 8: 8
  9130. Correct result - 8: 8
  9131. Correct result - 2: 2
  9132. Correct result - -2: -2
  9133. Correct result - 15: 15
  9134. Correct result - 15: 15
  9135. Correct result - 2: 2
  9136. Correct result - 3: 3
  9137. *********************************
  9138. *** Testing if/elseif/else control ***
  9139. This works
  9140. this_still_works
  9141. should_print
  9142. *** Seriously nested if's test ***
  9143. ** spelling correction by kluzz **
  9144. Only two lines of text should follow:
  9145. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  9146. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  9147. 3 loop iterations should follow:
  9148. 2 4
  9149. 3 4
  9150. 4 4
  9151. **********************************
  9152. *** C-style else-if's ***
  9153. This should be displayed
  9154. *************************
  9155. *** WHILE tests ***
  9156. 0 is smaller than 20
  9157. 1 is smaller than 20
  9158. 2 is smaller than 20
  9159. 3 is smaller than 20
  9160. 4 is smaller than 20
  9161. 5 is smaller than 20
  9162. 6 is smaller than 20
  9163. 7 is smaller than 20
  9164. 8 is smaller than 20
  9165. 9 is smaller than 20
  9166. 10 is smaller than 20
  9167. 11 is smaller than 20
  9168. 12 is smaller than 20
  9169. 13 is smaller than 20
  9170. 14 is smaller than 20
  9171. 15 is smaller than 20
  9172. 16 is smaller than 20
  9173. 17 is smaller than 20
  9174. 18 is smaller than 20
  9175. 19 is smaller than 20
  9176. 20 equals 20
  9177. 21 is greater than 20
  9178. 22 is greater than 20
  9179. 23 is greater than 20
  9180. 24 is greater than 20
  9181. 25 is greater than 20
  9182. 26 is greater than 20
  9183. 27 is greater than 20
  9184. 28 is greater than 20
  9185. 29 is greater than 20
  9186. 30 is greater than 20
  9187. 31 is greater than 20
  9188. 32 is greater than 20
  9189. 33 is greater than 20
  9190. 34 is greater than 20
  9191. 35 is greater than 20
  9192. 36 is greater than 20
  9193. 37 is greater than 20
  9194. 38 is greater than 20
  9195. 39 is greater than 20
  9196. *******************
  9197. *** Nested WHILEs ***
  9198. Each array variable should be equal to the sum of its indices:
  9199. ${test00}[0] = 0
  9200. ${test00}[1] = 1
  9201. ${test00}[2] = 2
  9202. ${test01}[0] = 1
  9203. ${test01}[1] = 2
  9204. ${test01}[2] = 3
  9205. ${test02}[0] = 2
  9206. ${test02}[1] = 3
  9207. ${test02}[2] = 4
  9208. ${test10}[0] = 1
  9209. ${test10}[1] = 2
  9210. ${test10}[2] = 3
  9211. ${test11}[0] = 2
  9212. ${test11}[1] = 3
  9213. ${test11}[2] = 4
  9214. ${test12}[0] = 3
  9215. ${test12}[1] = 4
  9216. ${test12}[2] = 5
  9217. ${test20}[0] = 2
  9218. ${test20}[1] = 3
  9219. ${test20}[2] = 4
  9220. ${test21}[0] = 3
  9221. ${test21}[1] = 4
  9222. ${test21}[2] = 5
  9223. ${test22}[0] = 4
  9224. ${test22}[1] = 5
  9225. ${test22}[2] = 6
  9226. *********************
  9227. *** hash test... ***
  9228. commented out...
  9229. **************************
  9230. *** Hash resizing test ***
  9231. ba
  9232. baa
  9233. baaa
  9234. baaaa
  9235. baaaaa
  9236. baaaaaa
  9237. baaaaaaa
  9238. baaaaaaaa
  9239. baaaaaaaaa
  9240. baaaaaaaaaa
  9241. ba
  9242. 10
  9243. baa
  9244. 9
  9245. baaa
  9246. 8
  9247. baaaa
  9248. 7
  9249. baaaaa
  9250. 6
  9251. baaaaaa
  9252. 5
  9253. baaaaaaa
  9254. 4
  9255. baaaaaaaa
  9256. 3
  9257. baaaaaaaaa
  9258. 2
  9259. baaaaaaaaaa
  9260. 1
  9261. **************************
  9262. *** break/continue test ***
  9263. $i should go from 0 to 2
  9264. $j should go from 3 to 4, and $q should go from 3 to 4
  9265. $j=3
  9266. $q=3
  9267. $q=4
  9268. $j=4
  9269. $q=3
  9270. $q=4
  9271. $j should go from 0 to 2
  9272. $j=0
  9273. $j=1
  9274. $j=2
  9275. $k should go from 0 to 2
  9276. $k=0
  9277. $k=1
  9278. $k=2
  9279. $i=0
  9280. $j should go from 3 to 4, and $q should go from 3 to 4
  9281. $j=3
  9282. $q=3
  9283. $q=4
  9284. $j=4
  9285. $q=3
  9286. $q=4
  9287. $j should go from 0 to 2
  9288. $j=0
  9289. $j=1
  9290. $j=2
  9291. $k should go from 0 to 2
  9292. $k=0
  9293. $k=1
  9294. $k=2
  9295. $i=1
  9296. $j should go from 3 to 4, and $q should go from 3 to 4
  9297. $j=3
  9298. $q=3
  9299. $q=4
  9300. $j=4
  9301. $q=3
  9302. $q=4
  9303. $j should go from 0 to 2
  9304. $j=0
  9305. $j=1
  9306. $j=2
  9307. $k should go from 0 to 2
  9308. $k=0
  9309. $k=1
  9310. $k=2
  9311. $i=2
  9312. ***********************
  9313. *** Nested file include test ***
  9314. <html>
  9315. This is Finish.phtml. This file is supposed to be included
  9316. from regression_test.phtml. This is normal HTML.
  9317. and this is PHP code, 2+2=4
  9318. </html>
  9319. ********************************
  9320. Tests completed.
  9321. <html>
  9322. <head>
  9323. *** Testing assignments and variable aliasing: ***
  9324. This should read "blah": blah
  9325. This should read "this is nifty": this is nifty
  9326. *************************************************
  9327. *** Testing integer operators ***
  9328. Correct result - 8: 8
  9329. Correct result - 8: 8
  9330. Correct result - 2: 2
  9331. Correct result - -2: -2
  9332. Correct result - 15: 15
  9333. Correct result - 15: 15
  9334. Correct result - 2: 2
  9335. Correct result - 3: 3
  9336. *********************************
  9337. *** Testing real operators ***
  9338. Correct result - 8: 8
  9339. Correct result - 8: 8
  9340. Correct result - 2: 2
  9341. Correct result - -2: -2
  9342. Correct result - 15: 15
  9343. Correct result - 15: 15
  9344. Correct result - 2: 2
  9345. Correct result - 3: 3
  9346. *********************************
  9347. *** Testing if/elseif/else control ***
  9348. This works
  9349. this_still_works
  9350. should_print
  9351. *** Seriously nested if's test ***
  9352. ** spelling correction by kluzz **
  9353. Only two lines of text should follow:
  9354. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  9355. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  9356. 3 loop iterations should follow:
  9357. 2 4
  9358. 3 4
  9359. 4 4
  9360. **********************************
  9361. *** C-style else-if's ***
  9362. This should be displayed
  9363. *************************
  9364. *** WHILE tests ***
  9365. 0 is smaller than 20
  9366. 1 is smaller than 20
  9367. 2 is smaller than 20
  9368. 3 is smaller than 20
  9369. 4 is smaller than 20
  9370. 5 is smaller than 20
  9371. 6 is smaller than 20
  9372. 7 is smaller than 20
  9373. 8 is smaller than 20
  9374. 9 is smaller than 20
  9375. 10 is smaller than 20
  9376. 11 is smaller than 20
  9377. 12 is smaller than 20
  9378. 13 is smaller than 20
  9379. 14 is smaller than 20
  9380. 15 is smaller than 20
  9381. 16 is smaller than 20
  9382. 17 is smaller than 20
  9383. 18 is smaller than 20
  9384. 19 is smaller than 20
  9385. 20 equals 20
  9386. 21 is greater than 20
  9387. 22 is greater than 20
  9388. 23 is greater than 20
  9389. 24 is greater than 20
  9390. 25 is greater than 20
  9391. 26 is greater than 20
  9392. 27 is greater than 20
  9393. 28 is greater than 20
  9394. 29 is greater than 20
  9395. 30 is greater than 20
  9396. 31 is greater than 20
  9397. 32 is greater than 20
  9398. 33 is greater than 20
  9399. 34 is greater than 20
  9400. 35 is greater than 20
  9401. 36 is greater than 20
  9402. 37 is greater than 20
  9403. 38 is greater than 20
  9404. 39 is greater than 20
  9405. *******************
  9406. *** Nested WHILEs ***
  9407. Each array variable should be equal to the sum of its indices:
  9408. ${test00}[0] = 0
  9409. ${test00}[1] = 1
  9410. ${test00}[2] = 2
  9411. ${test01}[0] = 1
  9412. ${test01}[1] = 2
  9413. ${test01}[2] = 3
  9414. ${test02}[0] = 2
  9415. ${test02}[1] = 3
  9416. ${test02}[2] = 4
  9417. ${test10}[0] = 1
  9418. ${test10}[1] = 2
  9419. ${test10}[2] = 3
  9420. ${test11}[0] = 2
  9421. ${test11}[1] = 3
  9422. ${test11}[2] = 4
  9423. ${test12}[0] = 3
  9424. ${test12}[1] = 4
  9425. ${test12}[2] = 5
  9426. ${test20}[0] = 2
  9427. ${test20}[1] = 3
  9428. ${test20}[2] = 4
  9429. ${test21}[0] = 3
  9430. ${test21}[1] = 4
  9431. ${test21}[2] = 5
  9432. ${test22}[0] = 4
  9433. ${test22}[1] = 5
  9434. ${test22}[2] = 6
  9435. *********************
  9436. *** hash test... ***
  9437. commented out...
  9438. **************************
  9439. *** Hash resizing test ***
  9440. ba
  9441. baa
  9442. baaa
  9443. baaaa
  9444. baaaaa
  9445. baaaaaa
  9446. baaaaaaa
  9447. baaaaaaaa
  9448. baaaaaaaaa
  9449. baaaaaaaaaa
  9450. ba
  9451. 10
  9452. baa
  9453. 9
  9454. baaa
  9455. 8
  9456. baaaa
  9457. 7
  9458. baaaaa
  9459. 6
  9460. baaaaaa
  9461. 5
  9462. baaaaaaa
  9463. 4
  9464. baaaaaaaa
  9465. 3
  9466. baaaaaaaaa
  9467. 2
  9468. baaaaaaaaaa
  9469. 1
  9470. **************************
  9471. *** break/continue test ***
  9472. $i should go from 0 to 2
  9473. $j should go from 3 to 4, and $q should go from 3 to 4
  9474. $j=3
  9475. $q=3
  9476. $q=4
  9477. $j=4
  9478. $q=3
  9479. $q=4
  9480. $j should go from 0 to 2
  9481. $j=0
  9482. $j=1
  9483. $j=2
  9484. $k should go from 0 to 2
  9485. $k=0
  9486. $k=1
  9487. $k=2
  9488. $i=0
  9489. $j should go from 3 to 4, and $q should go from 3 to 4
  9490. $j=3
  9491. $q=3
  9492. $q=4
  9493. $j=4
  9494. $q=3
  9495. $q=4
  9496. $j should go from 0 to 2
  9497. $j=0
  9498. $j=1
  9499. $j=2
  9500. $k should go from 0 to 2
  9501. $k=0
  9502. $k=1
  9503. $k=2
  9504. $i=1
  9505. $j should go from 3 to 4, and $q should go from 3 to 4
  9506. $j=3
  9507. $q=3
  9508. $q=4
  9509. $j=4
  9510. $q=3
  9511. $q=4
  9512. $j should go from 0 to 2
  9513. $j=0
  9514. $j=1
  9515. $j=2
  9516. $k should go from 0 to 2
  9517. $k=0
  9518. $k=1
  9519. $k=2
  9520. $i=2
  9521. ***********************
  9522. *** Nested file include test ***
  9523. <html>
  9524. This is Finish.phtml. This file is supposed to be included
  9525. from regression_test.phtml. This is normal HTML.
  9526. and this is PHP code, 2+2=4
  9527. </html>
  9528. ********************************
  9529. Tests completed.
  9530. <html>
  9531. <head>
  9532. *** Testing assignments and variable aliasing: ***
  9533. This should read "blah": blah
  9534. This should read "this is nifty": this is nifty
  9535. *************************************************
  9536. *** Testing integer operators ***
  9537. Correct result - 8: 8
  9538. Correct result - 8: 8
  9539. Correct result - 2: 2
  9540. Correct result - -2: -2
  9541. Correct result - 15: 15
  9542. Correct result - 15: 15
  9543. Correct result - 2: 2
  9544. Correct result - 3: 3
  9545. *********************************
  9546. *** Testing real operators ***
  9547. Correct result - 8: 8
  9548. Correct result - 8: 8
  9549. Correct result - 2: 2
  9550. Correct result - -2: -2
  9551. Correct result - 15: 15
  9552. Correct result - 15: 15
  9553. Correct result - 2: 2
  9554. Correct result - 3: 3
  9555. *********************************
  9556. *** Testing if/elseif/else control ***
  9557. This works
  9558. this_still_works
  9559. should_print
  9560. *** Seriously nested if's test ***
  9561. ** spelling correction by kluzz **
  9562. Only two lines of text should follow:
  9563. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  9564. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  9565. 3 loop iterations should follow:
  9566. 2 4
  9567. 3 4
  9568. 4 4
  9569. **********************************
  9570. *** C-style else-if's ***
  9571. This should be displayed
  9572. *************************
  9573. *** WHILE tests ***
  9574. 0 is smaller than 20
  9575. 1 is smaller than 20
  9576. 2 is smaller than 20
  9577. 3 is smaller than 20
  9578. 4 is smaller than 20
  9579. 5 is smaller than 20
  9580. 6 is smaller than 20
  9581. 7 is smaller than 20
  9582. 8 is smaller than 20
  9583. 9 is smaller than 20
  9584. 10 is smaller than 20
  9585. 11 is smaller than 20
  9586. 12 is smaller than 20
  9587. 13 is smaller than 20
  9588. 14 is smaller than 20
  9589. 15 is smaller than 20
  9590. 16 is smaller than 20
  9591. 17 is smaller than 20
  9592. 18 is smaller than 20
  9593. 19 is smaller than 20
  9594. 20 equals 20
  9595. 21 is greater than 20
  9596. 22 is greater than 20
  9597. 23 is greater than 20
  9598. 24 is greater than 20
  9599. 25 is greater than 20
  9600. 26 is greater than 20
  9601. 27 is greater than 20
  9602. 28 is greater than 20
  9603. 29 is greater than 20
  9604. 30 is greater than 20
  9605. 31 is greater than 20
  9606. 32 is greater than 20
  9607. 33 is greater than 20
  9608. 34 is greater than 20
  9609. 35 is greater than 20
  9610. 36 is greater than 20
  9611. 37 is greater than 20
  9612. 38 is greater than 20
  9613. 39 is greater than 20
  9614. *******************
  9615. *** Nested WHILEs ***
  9616. Each array variable should be equal to the sum of its indices:
  9617. ${test00}[0] = 0
  9618. ${test00}[1] = 1
  9619. ${test00}[2] = 2
  9620. ${test01}[0] = 1
  9621. ${test01}[1] = 2
  9622. ${test01}[2] = 3
  9623. ${test02}[0] = 2
  9624. ${test02}[1] = 3
  9625. ${test02}[2] = 4
  9626. ${test10}[0] = 1
  9627. ${test10}[1] = 2
  9628. ${test10}[2] = 3
  9629. ${test11}[0] = 2
  9630. ${test11}[1] = 3
  9631. ${test11}[2] = 4
  9632. ${test12}[0] = 3
  9633. ${test12}[1] = 4
  9634. ${test12}[2] = 5
  9635. ${test20}[0] = 2
  9636. ${test20}[1] = 3
  9637. ${test20}[2] = 4
  9638. ${test21}[0] = 3
  9639. ${test21}[1] = 4
  9640. ${test21}[2] = 5
  9641. ${test22}[0] = 4
  9642. ${test22}[1] = 5
  9643. ${test22}[2] = 6
  9644. *********************
  9645. *** hash test... ***
  9646. commented out...
  9647. **************************
  9648. *** Hash resizing test ***
  9649. ba
  9650. baa
  9651. baaa
  9652. baaaa
  9653. baaaaa
  9654. baaaaaa
  9655. baaaaaaa
  9656. baaaaaaaa
  9657. baaaaaaaaa
  9658. baaaaaaaaaa
  9659. ba
  9660. 10
  9661. baa
  9662. 9
  9663. baaa
  9664. 8
  9665. baaaa
  9666. 7
  9667. baaaaa
  9668. 6
  9669. baaaaaa
  9670. 5
  9671. baaaaaaa
  9672. 4
  9673. baaaaaaaa
  9674. 3
  9675. baaaaaaaaa
  9676. 2
  9677. baaaaaaaaaa
  9678. 1
  9679. **************************
  9680. *** break/continue test ***
  9681. $i should go from 0 to 2
  9682. $j should go from 3 to 4, and $q should go from 3 to 4
  9683. $j=3
  9684. $q=3
  9685. $q=4
  9686. $j=4
  9687. $q=3
  9688. $q=4
  9689. $j should go from 0 to 2
  9690. $j=0
  9691. $j=1
  9692. $j=2
  9693. $k should go from 0 to 2
  9694. $k=0
  9695. $k=1
  9696. $k=2
  9697. $i=0
  9698. $j should go from 3 to 4, and $q should go from 3 to 4
  9699. $j=3
  9700. $q=3
  9701. $q=4
  9702. $j=4
  9703. $q=3
  9704. $q=4
  9705. $j should go from 0 to 2
  9706. $j=0
  9707. $j=1
  9708. $j=2
  9709. $k should go from 0 to 2
  9710. $k=0
  9711. $k=1
  9712. $k=2
  9713. $i=1
  9714. $j should go from 3 to 4, and $q should go from 3 to 4
  9715. $j=3
  9716. $q=3
  9717. $q=4
  9718. $j=4
  9719. $q=3
  9720. $q=4
  9721. $j should go from 0 to 2
  9722. $j=0
  9723. $j=1
  9724. $j=2
  9725. $k should go from 0 to 2
  9726. $k=0
  9727. $k=1
  9728. $k=2
  9729. $i=2
  9730. ***********************
  9731. *** Nested file include test ***
  9732. <html>
  9733. This is Finish.phtml. This file is supposed to be included
  9734. from regression_test.phtml. This is normal HTML.
  9735. and this is PHP code, 2+2=4
  9736. </html>
  9737. ********************************
  9738. Tests completed.
  9739. <html>
  9740. <head>
  9741. *** Testing assignments and variable aliasing: ***
  9742. This should read "blah": blah
  9743. This should read "this is nifty": this is nifty
  9744. *************************************************
  9745. *** Testing integer operators ***
  9746. Correct result - 8: 8
  9747. Correct result - 8: 8
  9748. Correct result - 2: 2
  9749. Correct result - -2: -2
  9750. Correct result - 15: 15
  9751. Correct result - 15: 15
  9752. Correct result - 2: 2
  9753. Correct result - 3: 3
  9754. *********************************
  9755. *** Testing real operators ***
  9756. Correct result - 8: 8
  9757. Correct result - 8: 8
  9758. Correct result - 2: 2
  9759. Correct result - -2: -2
  9760. Correct result - 15: 15
  9761. Correct result - 15: 15
  9762. Correct result - 2: 2
  9763. Correct result - 3: 3
  9764. *********************************
  9765. *** Testing if/elseif/else control ***
  9766. This works
  9767. this_still_works
  9768. should_print
  9769. *** Seriously nested if's test ***
  9770. ** spelling correction by kluzz **
  9771. Only two lines of text should follow:
  9772. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  9773. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  9774. 3 loop iterations should follow:
  9775. 2 4
  9776. 3 4
  9777. 4 4
  9778. **********************************
  9779. *** C-style else-if's ***
  9780. This should be displayed
  9781. *************************
  9782. *** WHILE tests ***
  9783. 0 is smaller than 20
  9784. 1 is smaller than 20
  9785. 2 is smaller than 20
  9786. 3 is smaller than 20
  9787. 4 is smaller than 20
  9788. 5 is smaller than 20
  9789. 6 is smaller than 20
  9790. 7 is smaller than 20
  9791. 8 is smaller than 20
  9792. 9 is smaller than 20
  9793. 10 is smaller than 20
  9794. 11 is smaller than 20
  9795. 12 is smaller than 20
  9796. 13 is smaller than 20
  9797. 14 is smaller than 20
  9798. 15 is smaller than 20
  9799. 16 is smaller than 20
  9800. 17 is smaller than 20
  9801. 18 is smaller than 20
  9802. 19 is smaller than 20
  9803. 20 equals 20
  9804. 21 is greater than 20
  9805. 22 is greater than 20
  9806. 23 is greater than 20
  9807. 24 is greater than 20
  9808. 25 is greater than 20
  9809. 26 is greater than 20
  9810. 27 is greater than 20
  9811. 28 is greater than 20
  9812. 29 is greater than 20
  9813. 30 is greater than 20
  9814. 31 is greater than 20
  9815. 32 is greater than 20
  9816. 33 is greater than 20
  9817. 34 is greater than 20
  9818. 35 is greater than 20
  9819. 36 is greater than 20
  9820. 37 is greater than 20
  9821. 38 is greater than 20
  9822. 39 is greater than 20
  9823. *******************
  9824. *** Nested WHILEs ***
  9825. Each array variable should be equal to the sum of its indices:
  9826. ${test00}[0] = 0
  9827. ${test00}[1] = 1
  9828. ${test00}[2] = 2
  9829. ${test01}[0] = 1
  9830. ${test01}[1] = 2
  9831. ${test01}[2] = 3
  9832. ${test02}[0] = 2
  9833. ${test02}[1] = 3
  9834. ${test02}[2] = 4
  9835. ${test10}[0] = 1
  9836. ${test10}[1] = 2
  9837. ${test10}[2] = 3
  9838. ${test11}[0] = 2
  9839. ${test11}[1] = 3
  9840. ${test11}[2] = 4
  9841. ${test12}[0] = 3
  9842. ${test12}[1] = 4
  9843. ${test12}[2] = 5
  9844. ${test20}[0] = 2
  9845. ${test20}[1] = 3
  9846. ${test20}[2] = 4
  9847. ${test21}[0] = 3
  9848. ${test21}[1] = 4
  9849. ${test21}[2] = 5
  9850. ${test22}[0] = 4
  9851. ${test22}[1] = 5
  9852. ${test22}[2] = 6
  9853. *********************
  9854. *** hash test... ***
  9855. commented out...
  9856. **************************
  9857. *** Hash resizing test ***
  9858. ba
  9859. baa
  9860. baaa
  9861. baaaa
  9862. baaaaa
  9863. baaaaaa
  9864. baaaaaaa
  9865. baaaaaaaa
  9866. baaaaaaaaa
  9867. baaaaaaaaaa
  9868. ba
  9869. 10
  9870. baa
  9871. 9
  9872. baaa
  9873. 8
  9874. baaaa
  9875. 7
  9876. baaaaa
  9877. 6
  9878. baaaaaa
  9879. 5
  9880. baaaaaaa
  9881. 4
  9882. baaaaaaaa
  9883. 3
  9884. baaaaaaaaa
  9885. 2
  9886. baaaaaaaaaa
  9887. 1
  9888. **************************
  9889. *** break/continue test ***
  9890. $i should go from 0 to 2
  9891. $j should go from 3 to 4, and $q should go from 3 to 4
  9892. $j=3
  9893. $q=3
  9894. $q=4
  9895. $j=4
  9896. $q=3
  9897. $q=4
  9898. $j should go from 0 to 2
  9899. $j=0
  9900. $j=1
  9901. $j=2
  9902. $k should go from 0 to 2
  9903. $k=0
  9904. $k=1
  9905. $k=2
  9906. $i=0
  9907. $j should go from 3 to 4, and $q should go from 3 to 4
  9908. $j=3
  9909. $q=3
  9910. $q=4
  9911. $j=4
  9912. $q=3
  9913. $q=4
  9914. $j should go from 0 to 2
  9915. $j=0
  9916. $j=1
  9917. $j=2
  9918. $k should go from 0 to 2
  9919. $k=0
  9920. $k=1
  9921. $k=2
  9922. $i=1
  9923. $j should go from 3 to 4, and $q should go from 3 to 4
  9924. $j=3
  9925. $q=3
  9926. $q=4
  9927. $j=4
  9928. $q=3
  9929. $q=4
  9930. $j should go from 0 to 2
  9931. $j=0
  9932. $j=1
  9933. $j=2
  9934. $k should go from 0 to 2
  9935. $k=0
  9936. $k=1
  9937. $k=2
  9938. $i=2
  9939. ***********************
  9940. *** Nested file include test ***
  9941. <html>
  9942. This is Finish.phtml. This file is supposed to be included
  9943. from regression_test.phtml. This is normal HTML.
  9944. and this is PHP code, 2+2=4
  9945. </html>
  9946. ********************************
  9947. Tests completed.
  9948. <html>
  9949. <head>
  9950. *** Testing assignments and variable aliasing: ***
  9951. This should read "blah": blah
  9952. This should read "this is nifty": this is nifty
  9953. *************************************************
  9954. *** Testing integer operators ***
  9955. Correct result - 8: 8
  9956. Correct result - 8: 8
  9957. Correct result - 2: 2
  9958. Correct result - -2: -2
  9959. Correct result - 15: 15
  9960. Correct result - 15: 15
  9961. Correct result - 2: 2
  9962. Correct result - 3: 3
  9963. *********************************
  9964. *** Testing real operators ***
  9965. Correct result - 8: 8
  9966. Correct result - 8: 8
  9967. Correct result - 2: 2
  9968. Correct result - -2: -2
  9969. Correct result - 15: 15
  9970. Correct result - 15: 15
  9971. Correct result - 2: 2
  9972. Correct result - 3: 3
  9973. *********************************
  9974. *** Testing if/elseif/else control ***
  9975. This works
  9976. this_still_works
  9977. should_print
  9978. *** Seriously nested if's test ***
  9979. ** spelling correction by kluzz **
  9980. Only two lines of text should follow:
  9981. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  9982. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  9983. 3 loop iterations should follow:
  9984. 2 4
  9985. 3 4
  9986. 4 4
  9987. **********************************
  9988. *** C-style else-if's ***
  9989. This should be displayed
  9990. *************************
  9991. *** WHILE tests ***
  9992. 0 is smaller than 20
  9993. 1 is smaller than 20
  9994. 2 is smaller than 20
  9995. 3 is smaller than 20
  9996. 4 is smaller than 20
  9997. 5 is smaller than 20
  9998. 6 is smaller than 20
  9999. 7 is smaller than 20
  10000. 8 is smaller than 20
  10001. 9 is smaller than 20
  10002. 10 is smaller than 20
  10003. 11 is smaller than 20
  10004. 12 is smaller than 20
  10005. 13 is smaller than 20
  10006. 14 is smaller than 20
  10007. 15 is smaller than 20
  10008. 16 is smaller than 20
  10009. 17 is smaller than 20
  10010. 18 is smaller than 20
  10011. 19 is smaller than 20
  10012. 20 equals 20
  10013. 21 is greater than 20
  10014. 22 is greater than 20
  10015. 23 is greater than 20
  10016. 24 is greater than 20
  10017. 25 is greater than 20
  10018. 26 is greater than 20
  10019. 27 is greater than 20
  10020. 28 is greater than 20
  10021. 29 is greater than 20
  10022. 30 is greater than 20
  10023. 31 is greater than 20
  10024. 32 is greater than 20
  10025. 33 is greater than 20
  10026. 34 is greater than 20
  10027. 35 is greater than 20
  10028. 36 is greater than 20
  10029. 37 is greater than 20
  10030. 38 is greater than 20
  10031. 39 is greater than 20
  10032. *******************
  10033. *** Nested WHILEs ***
  10034. Each array variable should be equal to the sum of its indices:
  10035. ${test00}[0] = 0
  10036. ${test00}[1] = 1
  10037. ${test00}[2] = 2
  10038. ${test01}[0] = 1
  10039. ${test01}[1] = 2
  10040. ${test01}[2] = 3
  10041. ${test02}[0] = 2
  10042. ${test02}[1] = 3
  10043. ${test02}[2] = 4
  10044. ${test10}[0] = 1
  10045. ${test10}[1] = 2
  10046. ${test10}[2] = 3
  10047. ${test11}[0] = 2
  10048. ${test11}[1] = 3
  10049. ${test11}[2] = 4
  10050. ${test12}[0] = 3
  10051. ${test12}[1] = 4
  10052. ${test12}[2] = 5
  10053. ${test20}[0] = 2
  10054. ${test20}[1] = 3
  10055. ${test20}[2] = 4
  10056. ${test21}[0] = 3
  10057. ${test21}[1] = 4
  10058. ${test21}[2] = 5
  10059. ${test22}[0] = 4
  10060. ${test22}[1] = 5
  10061. ${test22}[2] = 6
  10062. *********************
  10063. *** hash test... ***
  10064. commented out...
  10065. **************************
  10066. *** Hash resizing test ***
  10067. ba
  10068. baa
  10069. baaa
  10070. baaaa
  10071. baaaaa
  10072. baaaaaa
  10073. baaaaaaa
  10074. baaaaaaaa
  10075. baaaaaaaaa
  10076. baaaaaaaaaa
  10077. ba
  10078. 10
  10079. baa
  10080. 9
  10081. baaa
  10082. 8
  10083. baaaa
  10084. 7
  10085. baaaaa
  10086. 6
  10087. baaaaaa
  10088. 5
  10089. baaaaaaa
  10090. 4
  10091. baaaaaaaa
  10092. 3
  10093. baaaaaaaaa
  10094. 2
  10095. baaaaaaaaaa
  10096. 1
  10097. **************************
  10098. *** break/continue test ***
  10099. $i should go from 0 to 2
  10100. $j should go from 3 to 4, and $q should go from 3 to 4
  10101. $j=3
  10102. $q=3
  10103. $q=4
  10104. $j=4
  10105. $q=3
  10106. $q=4
  10107. $j should go from 0 to 2
  10108. $j=0
  10109. $j=1
  10110. $j=2
  10111. $k should go from 0 to 2
  10112. $k=0
  10113. $k=1
  10114. $k=2
  10115. $i=0
  10116. $j should go from 3 to 4, and $q should go from 3 to 4
  10117. $j=3
  10118. $q=3
  10119. $q=4
  10120. $j=4
  10121. $q=3
  10122. $q=4
  10123. $j should go from 0 to 2
  10124. $j=0
  10125. $j=1
  10126. $j=2
  10127. $k should go from 0 to 2
  10128. $k=0
  10129. $k=1
  10130. $k=2
  10131. $i=1
  10132. $j should go from 3 to 4, and $q should go from 3 to 4
  10133. $j=3
  10134. $q=3
  10135. $q=4
  10136. $j=4
  10137. $q=3
  10138. $q=4
  10139. $j should go from 0 to 2
  10140. $j=0
  10141. $j=1
  10142. $j=2
  10143. $k should go from 0 to 2
  10144. $k=0
  10145. $k=1
  10146. $k=2
  10147. $i=2
  10148. ***********************
  10149. *** Nested file include test ***
  10150. <html>
  10151. This is Finish.phtml. This file is supposed to be included
  10152. from regression_test.phtml. This is normal HTML.
  10153. and this is PHP code, 2+2=4
  10154. </html>
  10155. ********************************
  10156. Tests completed.
  10157. <html>
  10158. <head>
  10159. *** Testing assignments and variable aliasing: ***
  10160. This should read "blah": blah
  10161. This should read "this is nifty": this is nifty
  10162. *************************************************
  10163. *** Testing integer operators ***
  10164. Correct result - 8: 8
  10165. Correct result - 8: 8
  10166. Correct result - 2: 2
  10167. Correct result - -2: -2
  10168. Correct result - 15: 15
  10169. Correct result - 15: 15
  10170. Correct result - 2: 2
  10171. Correct result - 3: 3
  10172. *********************************
  10173. *** Testing real operators ***
  10174. Correct result - 8: 8
  10175. Correct result - 8: 8
  10176. Correct result - 2: 2
  10177. Correct result - -2: -2
  10178. Correct result - 15: 15
  10179. Correct result - 15: 15
  10180. Correct result - 2: 2
  10181. Correct result - 3: 3
  10182. *********************************
  10183. *** Testing if/elseif/else control ***
  10184. This works
  10185. this_still_works
  10186. should_print
  10187. *** Seriously nested if's test ***
  10188. ** spelling correction by kluzz **
  10189. Only two lines of text should follow:
  10190. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  10191. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  10192. 3 loop iterations should follow:
  10193. 2 4
  10194. 3 4
  10195. 4 4
  10196. **********************************
  10197. *** C-style else-if's ***
  10198. This should be displayed
  10199. *************************
  10200. *** WHILE tests ***
  10201. 0 is smaller than 20
  10202. 1 is smaller than 20
  10203. 2 is smaller than 20
  10204. 3 is smaller than 20
  10205. 4 is smaller than 20
  10206. 5 is smaller than 20
  10207. 6 is smaller than 20
  10208. 7 is smaller than 20
  10209. 8 is smaller than 20
  10210. 9 is smaller than 20
  10211. 10 is smaller than 20
  10212. 11 is smaller than 20
  10213. 12 is smaller than 20
  10214. 13 is smaller than 20
  10215. 14 is smaller than 20
  10216. 15 is smaller than 20
  10217. 16 is smaller than 20
  10218. 17 is smaller than 20
  10219. 18 is smaller than 20
  10220. 19 is smaller than 20
  10221. 20 equals 20
  10222. 21 is greater than 20
  10223. 22 is greater than 20
  10224. 23 is greater than 20
  10225. 24 is greater than 20
  10226. 25 is greater than 20
  10227. 26 is greater than 20
  10228. 27 is greater than 20
  10229. 28 is greater than 20
  10230. 29 is greater than 20
  10231. 30 is greater than 20
  10232. 31 is greater than 20
  10233. 32 is greater than 20
  10234. 33 is greater than 20
  10235. 34 is greater than 20
  10236. 35 is greater than 20
  10237. 36 is greater than 20
  10238. 37 is greater than 20
  10239. 38 is greater than 20
  10240. 39 is greater than 20
  10241. *******************
  10242. *** Nested WHILEs ***
  10243. Each array variable should be equal to the sum of its indices:
  10244. ${test00}[0] = 0
  10245. ${test00}[1] = 1
  10246. ${test00}[2] = 2
  10247. ${test01}[0] = 1
  10248. ${test01}[1] = 2
  10249. ${test01}[2] = 3
  10250. ${test02}[0] = 2
  10251. ${test02}[1] = 3
  10252. ${test02}[2] = 4
  10253. ${test10}[0] = 1
  10254. ${test10}[1] = 2
  10255. ${test10}[2] = 3
  10256. ${test11}[0] = 2
  10257. ${test11}[1] = 3
  10258. ${test11}[2] = 4
  10259. ${test12}[0] = 3
  10260. ${test12}[1] = 4
  10261. ${test12}[2] = 5
  10262. ${test20}[0] = 2
  10263. ${test20}[1] = 3
  10264. ${test20}[2] = 4
  10265. ${test21}[0] = 3
  10266. ${test21}[1] = 4
  10267. ${test21}[2] = 5
  10268. ${test22}[0] = 4
  10269. ${test22}[1] = 5
  10270. ${test22}[2] = 6
  10271. *********************
  10272. *** hash test... ***
  10273. commented out...
  10274. **************************
  10275. *** Hash resizing test ***
  10276. ba
  10277. baa
  10278. baaa
  10279. baaaa
  10280. baaaaa
  10281. baaaaaa
  10282. baaaaaaa
  10283. baaaaaaaa
  10284. baaaaaaaaa
  10285. baaaaaaaaaa
  10286. ba
  10287. 10
  10288. baa
  10289. 9
  10290. baaa
  10291. 8
  10292. baaaa
  10293. 7
  10294. baaaaa
  10295. 6
  10296. baaaaaa
  10297. 5
  10298. baaaaaaa
  10299. 4
  10300. baaaaaaaa
  10301. 3
  10302. baaaaaaaaa
  10303. 2
  10304. baaaaaaaaaa
  10305. 1
  10306. **************************
  10307. *** break/continue test ***
  10308. $i should go from 0 to 2
  10309. $j should go from 3 to 4, and $q should go from 3 to 4
  10310. $j=3
  10311. $q=3
  10312. $q=4
  10313. $j=4
  10314. $q=3
  10315. $q=4
  10316. $j should go from 0 to 2
  10317. $j=0
  10318. $j=1
  10319. $j=2
  10320. $k should go from 0 to 2
  10321. $k=0
  10322. $k=1
  10323. $k=2
  10324. $i=0
  10325. $j should go from 3 to 4, and $q should go from 3 to 4
  10326. $j=3
  10327. $q=3
  10328. $q=4
  10329. $j=4
  10330. $q=3
  10331. $q=4
  10332. $j should go from 0 to 2
  10333. $j=0
  10334. $j=1
  10335. $j=2
  10336. $k should go from 0 to 2
  10337. $k=0
  10338. $k=1
  10339. $k=2
  10340. $i=1
  10341. $j should go from 3 to 4, and $q should go from 3 to 4
  10342. $j=3
  10343. $q=3
  10344. $q=4
  10345. $j=4
  10346. $q=3
  10347. $q=4
  10348. $j should go from 0 to 2
  10349. $j=0
  10350. $j=1
  10351. $j=2
  10352. $k should go from 0 to 2
  10353. $k=0
  10354. $k=1
  10355. $k=2
  10356. $i=2
  10357. ***********************
  10358. *** Nested file include test ***
  10359. <html>
  10360. This is Finish.phtml. This file is supposed to be included
  10361. from regression_test.phtml. This is normal HTML.
  10362. and this is PHP code, 2+2=4
  10363. </html>
  10364. ********************************
  10365. Tests completed.
  10366. <html>
  10367. <head>
  10368. *** Testing assignments and variable aliasing: ***
  10369. This should read "blah": blah
  10370. This should read "this is nifty": this is nifty
  10371. *************************************************
  10372. *** Testing integer operators ***
  10373. Correct result - 8: 8
  10374. Correct result - 8: 8
  10375. Correct result - 2: 2
  10376. Correct result - -2: -2
  10377. Correct result - 15: 15
  10378. Correct result - 15: 15
  10379. Correct result - 2: 2
  10380. Correct result - 3: 3
  10381. *********************************
  10382. *** Testing real operators ***
  10383. Correct result - 8: 8
  10384. Correct result - 8: 8
  10385. Correct result - 2: 2
  10386. Correct result - -2: -2
  10387. Correct result - 15: 15
  10388. Correct result - 15: 15
  10389. Correct result - 2: 2
  10390. Correct result - 3: 3
  10391. *********************************
  10392. *** Testing if/elseif/else control ***
  10393. This works
  10394. this_still_works
  10395. should_print
  10396. *** Seriously nested if's test ***
  10397. ** spelling correction by kluzz **
  10398. Only two lines of text should follow:
  10399. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  10400. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  10401. 3 loop iterations should follow:
  10402. 2 4
  10403. 3 4
  10404. 4 4
  10405. **********************************
  10406. *** C-style else-if's ***
  10407. This should be displayed
  10408. *************************
  10409. *** WHILE tests ***
  10410. 0 is smaller than 20
  10411. 1 is smaller than 20
  10412. 2 is smaller than 20
  10413. 3 is smaller than 20
  10414. 4 is smaller than 20
  10415. 5 is smaller than 20
  10416. 6 is smaller than 20
  10417. 7 is smaller than 20
  10418. 8 is smaller than 20
  10419. 9 is smaller than 20
  10420. 10 is smaller than 20
  10421. 11 is smaller than 20
  10422. 12 is smaller than 20
  10423. 13 is smaller than 20
  10424. 14 is smaller than 20
  10425. 15 is smaller than 20
  10426. 16 is smaller than 20
  10427. 17 is smaller than 20
  10428. 18 is smaller than 20
  10429. 19 is smaller than 20
  10430. 20 equals 20
  10431. 21 is greater than 20
  10432. 22 is greater than 20
  10433. 23 is greater than 20
  10434. 24 is greater than 20
  10435. 25 is greater than 20
  10436. 26 is greater than 20
  10437. 27 is greater than 20
  10438. 28 is greater than 20
  10439. 29 is greater than 20
  10440. 30 is greater than 20
  10441. 31 is greater than 20
  10442. 32 is greater than 20
  10443. 33 is greater than 20
  10444. 34 is greater than 20
  10445. 35 is greater than 20
  10446. 36 is greater than 20
  10447. 37 is greater than 20
  10448. 38 is greater than 20
  10449. 39 is greater than 20
  10450. *******************
  10451. *** Nested WHILEs ***
  10452. Each array variable should be equal to the sum of its indices:
  10453. ${test00}[0] = 0
  10454. ${test00}[1] = 1
  10455. ${test00}[2] = 2
  10456. ${test01}[0] = 1
  10457. ${test01}[1] = 2
  10458. ${test01}[2] = 3
  10459. ${test02}[0] = 2
  10460. ${test02}[1] = 3
  10461. ${test02}[2] = 4
  10462. ${test10}[0] = 1
  10463. ${test10}[1] = 2
  10464. ${test10}[2] = 3
  10465. ${test11}[0] = 2
  10466. ${test11}[1] = 3
  10467. ${test11}[2] = 4
  10468. ${test12}[0] = 3
  10469. ${test12}[1] = 4
  10470. ${test12}[2] = 5
  10471. ${test20}[0] = 2
  10472. ${test20}[1] = 3
  10473. ${test20}[2] = 4
  10474. ${test21}[0] = 3
  10475. ${test21}[1] = 4
  10476. ${test21}[2] = 5
  10477. ${test22}[0] = 4
  10478. ${test22}[1] = 5
  10479. ${test22}[2] = 6
  10480. *********************
  10481. *** hash test... ***
  10482. commented out...
  10483. **************************
  10484. *** Hash resizing test ***
  10485. ba
  10486. baa
  10487. baaa
  10488. baaaa
  10489. baaaaa
  10490. baaaaaa
  10491. baaaaaaa
  10492. baaaaaaaa
  10493. baaaaaaaaa
  10494. baaaaaaaaaa
  10495. ba
  10496. 10
  10497. baa
  10498. 9
  10499. baaa
  10500. 8
  10501. baaaa
  10502. 7
  10503. baaaaa
  10504. 6
  10505. baaaaaa
  10506. 5
  10507. baaaaaaa
  10508. 4
  10509. baaaaaaaa
  10510. 3
  10511. baaaaaaaaa
  10512. 2
  10513. baaaaaaaaaa
  10514. 1
  10515. **************************
  10516. *** break/continue test ***
  10517. $i should go from 0 to 2
  10518. $j should go from 3 to 4, and $q should go from 3 to 4
  10519. $j=3
  10520. $q=3
  10521. $q=4
  10522. $j=4
  10523. $q=3
  10524. $q=4
  10525. $j should go from 0 to 2
  10526. $j=0
  10527. $j=1
  10528. $j=2
  10529. $k should go from 0 to 2
  10530. $k=0
  10531. $k=1
  10532. $k=2
  10533. $i=0
  10534. $j should go from 3 to 4, and $q should go from 3 to 4
  10535. $j=3
  10536. $q=3
  10537. $q=4
  10538. $j=4
  10539. $q=3
  10540. $q=4
  10541. $j should go from 0 to 2
  10542. $j=0
  10543. $j=1
  10544. $j=2
  10545. $k should go from 0 to 2
  10546. $k=0
  10547. $k=1
  10548. $k=2
  10549. $i=1
  10550. $j should go from 3 to 4, and $q should go from 3 to 4
  10551. $j=3
  10552. $q=3
  10553. $q=4
  10554. $j=4
  10555. $q=3
  10556. $q=4
  10557. $j should go from 0 to 2
  10558. $j=0
  10559. $j=1
  10560. $j=2
  10561. $k should go from 0 to 2
  10562. $k=0
  10563. $k=1
  10564. $k=2
  10565. $i=2
  10566. ***********************
  10567. *** Nested file include test ***
  10568. <html>
  10569. This is Finish.phtml. This file is supposed to be included
  10570. from regression_test.phtml. This is normal HTML.
  10571. and this is PHP code, 2+2=4
  10572. </html>
  10573. ********************************
  10574. Tests completed.
  10575. <html>
  10576. <head>
  10577. *** Testing assignments and variable aliasing: ***
  10578. This should read "blah": blah
  10579. This should read "this is nifty": this is nifty
  10580. *************************************************
  10581. *** Testing integer operators ***
  10582. Correct result - 8: 8
  10583. Correct result - 8: 8
  10584. Correct result - 2: 2
  10585. Correct result - -2: -2
  10586. Correct result - 15: 15
  10587. Correct result - 15: 15
  10588. Correct result - 2: 2
  10589. Correct result - 3: 3
  10590. *********************************
  10591. *** Testing real operators ***
  10592. Correct result - 8: 8
  10593. Correct result - 8: 8
  10594. Correct result - 2: 2
  10595. Correct result - -2: -2
  10596. Correct result - 15: 15
  10597. Correct result - 15: 15
  10598. Correct result - 2: 2
  10599. Correct result - 3: 3
  10600. *********************************
  10601. *** Testing if/elseif/else control ***
  10602. This works
  10603. this_still_works
  10604. should_print
  10605. *** Seriously nested if's test ***
  10606. ** spelling correction by kluzz **
  10607. Only two lines of text should follow:
  10608. this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
  10609. this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
  10610. 3 loop iterations should follow:
  10611. 2 4
  10612. 3 4
  10613. 4 4
  10614. **********************************
  10615. *** C-style else-if's ***
  10616. This should be displayed
  10617. *************************
  10618. *** WHILE tests ***
  10619. 0 is smaller than 20
  10620. 1 is smaller than 20
  10621. 2 is smaller than 20
  10622. 3 is smaller than 20
  10623. 4 is smaller than 20
  10624. 5 is smaller than 20
  10625. 6 is smaller than 20
  10626. 7 is smaller than 20
  10627. 8 is smaller than 20
  10628. 9 is smaller than 20
  10629. 10 is smaller than 20
  10630. 11 is smaller than 20
  10631. 12 is smaller than 20
  10632. 13 is smaller than 20
  10633. 14 is smaller than 20
  10634. 15 is smaller than 20
  10635. 16 is smaller than 20
  10636. 17 is smaller than 20
  10637. 18 is smaller than 20
  10638. 19 is smaller than 20
  10639. 20 equals 20
  10640. 21 is greater than 20
  10641. 22 is greater than 20
  10642. 23 is greater than 20
  10643. 24 is greater than 20
  10644. 25 is greater than 20
  10645. 26 is greater than 20
  10646. 27 is greater than 20
  10647. 28 is greater than 20
  10648. 29 is greater than 20
  10649. 30 is greater than 20
  10650. 31 is greater than 20
  10651. 32 is greater than 20
  10652. 33 is greater than 20
  10653. 34 is greater than 20
  10654. 35 is greater than 20
  10655. 36 is greater than 20
  10656. 37 is greater than 20
  10657. 38 is greater than 20
  10658. 39 is greater than 20
  10659. *******************
  10660. *** Nested WHILEs ***
  10661. Each array variable should be equal to the sum of its indices:
  10662. ${test00}[0] = 0
  10663. ${test00}[1] = 1
  10664. ${test00}[2] = 2
  10665. ${test01}[0] = 1
  10666. ${test01}[1] = 2
  10667. ${test01}[2] = 3
  10668. ${test02}[0] = 2
  10669. ${test02}[1] = 3
  10670. ${test02}[2] = 4
  10671. ${test10}[0] = 1
  10672. ${test10}[1] = 2
  10673. ${test10}[2] = 3
  10674. ${test11}[0] = 2
  10675. ${test11}[1] = 3
  10676. ${test11}[2] = 4
  10677. ${test12}[0] = 3
  10678. ${test12}[1] = 4
  10679. ${test12}[2] = 5
  10680. ${test20}[0] = 2
  10681. ${test20}[1] = 3
  10682. ${test20}[2] = 4
  10683. ${test21}[0] = 3
  10684. ${test21}[1] = 4
  10685. ${test21}[2] = 5
  10686. ${test22}[0] = 4
  10687. ${test22}[1] = 5
  10688. ${test22}[2] = 6
  10689. *********************
  10690. *** hash test... ***
  10691. commented out...
  10692. **************************
  10693. *** Hash resizing test ***
  10694. ba
  10695. baa
  10696. baaa
  10697. baaaa
  10698. baaaaa
  10699. baaaaaa
  10700. baaaaaaa
  10701. baaaaaaaa
  10702. baaaaaaaaa
  10703. baaaaaaaaaa
  10704. ba
  10705. 10
  10706. baa
  10707. 9
  10708. baaa
  10709. 8
  10710. baaaa
  10711. 7
  10712. baaaaa
  10713. 6
  10714. baaaaaa
  10715. 5
  10716. baaaaaaa
  10717. 4
  10718. baaaaaaaa
  10719. 3
  10720. baaaaaaaaa
  10721. 2
  10722. baaaaaaaaaa
  10723. 1
  10724. **************************
  10725. *** break/continue test ***
  10726. $i should go from 0 to 2
  10727. $j should go from 3 to 4, and $q should go from 3 to 4
  10728. $j=3
  10729. $q=3
  10730. $q=4
  10731. $j=4
  10732. $q=3
  10733. $q=4
  10734. $j should go from 0 to 2
  10735. $j=0
  10736. $j=1
  10737. $j=2
  10738. $k should go from 0 to 2
  10739. $k=0
  10740. $k=1
  10741. $k=2
  10742. $i=0
  10743. $j should go from 3 to 4, and $q should go from 3 to 4
  10744. $j=3
  10745. $q=3
  10746. $q=4
  10747. $j=4
  10748. $q=3
  10749. $q=4
  10750. $j should go from 0 to 2
  10751. $j=0
  10752. $j=1
  10753. $j=2
  10754. $k should go from 0 to 2
  10755. $k=0
  10756. $k=1
  10757. $k=2
  10758. $i=1
  10759. $j should go from 3 to 4, and $q should go from 3 to 4
  10760. $j=3
  10761. $q=3
  10762. $q=4
  10763. $j=4
  10764. $q=3
  10765. $q=4
  10766. $j should go from 0 to 2
  10767. $j=0
  10768. $j=1
  10769. $j=2
  10770. $k should go from 0 to 2
  10771. $k=0
  10772. $k=1
  10773. $k=2
  10774. $i=2
  10775. ***********************
  10776. *** Nested file include test ***
  10777. <html>
  10778. This is Finish.phtml. This file is supposed to be included
  10779. from regression_test.phtml. This is normal HTML.
  10780. and this is PHP code, 2+2=4
  10781. </html>
  10782. ********************************
  10783. Tests completed.