3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'acdmnprst'; $b = 'abcdefghijlmnopqrstuvz'; $al = strlen($a); $bl = strlen($b); $vowels = array('a', 'e', 'i', 'o', 'u', 'y'); for ($i = 0; $i < $al; $i++) { for ($j = 0; $j < $bl; $j++) { for ($k = 0; $k < $bl; $k++) { $arr = array($b[$j], $b[$k], $a[$i]); if (0 === count(array_intersect($arr, $vowels))) { echo $b[$j] . $b[$k] . $a[$i] . "\n"; } } } }
based on 80K0f
Output for 5.3.20 - 7.2.0
bbc bcc bdc bfc bgc bhc bjc blc bmc bnc bpc bqc brc bsc btc bvc bzc cbc ccc cdc cfc cgc chc cjc clc cmc cnc cpc cqc crc csc ctc cvc czc dbc dcc ddc dfc dgc dhc djc dlc dmc dnc dpc dqc drc dsc dtc dvc dzc fbc fcc fdc ffc fgc fhc fjc flc fmc fnc fpc fqc frc fsc ftc fvc fzc gbc gcc gdc gfc ggc ghc gjc glc gmc gnc gpc gqc grc gsc gtc gvc gzc hbc hcc hdc hfc hgc hhc hjc hlc hmc hnc hpc hqc hrc hsc htc hvc hzc jbc jcc jdc jfc jgc jhc jjc jlc jmc jnc jpc jqc jrc jsc jtc jvc jzc lbc lcc ldc lfc lgc lhc ljc llc lmc lnc lpc lqc lrc lsc ltc lvc lzc mbc mcc mdc mfc mgc mhc mjc mlc mmc mnc mpc mqc mrc msc mtc mvc mzc nbc ncc ndc nfc ngc nhc njc nlc nmc nnc npc nqc nrc nsc ntc nvc nzc pbc pcc pdc pfc pgc phc pjc plc pmc pnc ppc pqc prc psc ptc pvc pzc qbc qcc qdc qfc qgc qhc qjc qlc qmc qnc qpc qqc qrc qsc qtc qvc qzc rbc rcc rdc rfc rgc rhc rjc rlc rmc rnc rpc rqc rrc rsc rtc rvc rzc sbc scc sdc sfc sgc shc sjc slc smc snc spc sqc src ssc stc svc szc tbc tcc tdc tfc tgc thc tjc tlc tmc tnc tpc tqc trc tsc ttc tvc tzc vbc vcc vdc vfc vgc vhc vjc vlc vmc vnc vpc vqc vrc vsc vtc vvc vzc zbc zcc zdc zfc zgc zhc zjc zlc zmc znc zpc zqc zrc zsc ztc zvc zzc bbd bcd bdd bfd bgd bhd bjd bld bmd bnd bpd bqd brd bsd btd bvd bzd cbd ccd cdd cfd cgd chd cjd cld cmd cnd cpd cqd crd csd ctd cvd czd dbd dcd ddd dfd dgd dhd djd dld dmd dnd dpd dqd drd dsd dtd dvd dzd fbd fcd fdd ffd fgd fhd fjd fld fmd fnd fpd fqd frd fsd ftd fvd fzd gbd gcd gdd gfd ggd ghd gjd gld gmd gnd gpd gqd grd gsd gtd gvd gzd hbd hcd hdd hfd hgd hhd hjd hld hmd hnd hpd hqd hrd hsd htd hvd hzd jbd jcd jdd jfd jgd jhd jjd jld jmd jnd jpd jqd jrd jsd jtd jvd jzd lbd lcd ldd lfd lgd lhd ljd lld lmd lnd lpd lqd lrd lsd ltd lvd lzd mbd mcd mdd mfd mgd mhd mjd mld mmd mnd mpd mqd mrd msd mtd mvd mzd nbd ncd ndd nfd ngd nhd njd nld nmd nnd npd nqd nrd nsd ntd nvd nzd pbd pcd pdd pfd pgd phd pjd pld pmd pnd ppd pqd prd psd ptd pvd pzd qbd qcd qdd qfd qgd qhd qjd qld qmd qnd qpd qqd qrd qsd qtd qvd qzd rbd rcd rdd rfd rgd rhd rjd rld rmd rnd rpd rqd rrd rsd rtd rvd rzd sbd scd sdd sfd sgd shd sjd sld smd snd spd sqd srd ssd std svd szd tbd tcd tdd tfd tgd thd tjd tld tmd tnd tpd tqd trd tsd ttd tvd tzd vbd vcd vdd vfd vgd vhd vjd vld vmd vnd vpd vqd vrd vsd vtd vvd vzd zbd zcd zdd zfd zgd zhd zjd zld zmd znd zpd zqd zrd zsd ztd zvd zzd bbm bcm bdm bfm bgm bhm bjm blm bmm bnm bpm bqm brm bsm btm bvm bzm cbm ccm cdm cfm cgm chm cjm clm cmm cnm cpm cqm crm csm ctm cvm czm dbm dcm ddm dfm dgm dhm djm dlm dmm dnm dpm dqm drm dsm dtm dvm dzm fbm fcm fdm ffm fgm fhm fjm flm fmm fnm fpm fqm frm fsm ftm fvm fzm gbm gcm gdm gfm ggm ghm gjm glm gmm gnm gpm gqm grm gsm gtm gvm gzm hbm hcm hdm hfm hgm hhm hjm hlm hmm hnm hpm hqm hrm hsm htm hvm hzm jbm jcm jdm jfm jgm jhm jjm jlm jmm jnm jpm jqm jrm jsm jtm jvm jzm lbm lcm ldm lfm lgm lhm ljm llm lmm lnm lpm lqm lrm lsm ltm lvm lzm mbm mcm mdm mfm mgm mhm mjm mlm mmm mnm mpm mqm mrm msm mtm mvm mzm nbm ncm ndm nfm ngm nhm njm nlm nmm nnm npm nqm nrm nsm ntm nvm nzm pbm pcm pdm pfm pgm phm pjm plm pmm pnm ppm pqm prm psm ptm pvm pzm qbm qcm qdm qfm qgm qhm qjm qlm qmm qnm qpm qqm qrm qsm qtm qvm qzm rbm rcm rdm rfm rgm rhm rjm rlm rmm rnm rpm rqm rrm rsm rtm rvm rzm sbm scm sdm sfm sgm shm sjm slm smm snm spm sqm srm ssm stm svm szm tbm tcm tdm tfm tgm thm tjm tlm tmm tnm tpm tqm trm tsm ttm tvm tzm vbm vcm vdm vfm vgm vhm vjm vlm vmm vnm vpm vqm vrm vsm vtm vvm vzm zbm zcm zdm zfm zgm zhm zjm zlm zmm znm zpm zqm zrm zsm ztm zvm zzm bbn bcn bdn bfn bgn bhn bjn bln bmn bnn bpn bqn brn bsn btn bvn bzn cbn ccn cdn cfn cgn chn cjn cln cmn cnn cpn cqn crn csn ctn cvn czn dbn dcn ddn dfn dgn dhn djn dln dmn dnn dpn dqn drn dsn dtn dvn dzn fbn fcn fdn ffn fgn fhn fjn fln fmn fnn fpn fqn frn fsn ftn fvn fzn gbn gcn gdn gfn ggn ghn gjn gln gmn gnn gpn gqn grn gsn gtn gvn gzn hbn hcn hdn hfn hgn hhn hjn hln hmn hnn hpn hqn hrn hsn htn hvn hzn jbn jcn jdn jfn jgn jhn jjn jln jmn jnn jpn jqn jrn jsn jtn jvn jzn lbn lcn ldn lfn lgn lhn ljn lln lmn lnn lpn lqn lrn lsn ltn lvn lzn mbn mcn mdn mfn mgn mhn mjn mln mmn mnn mpn mqn mrn msn mtn mvn mzn nbn ncn ndn nfn ngn nhn njn nln nmn nnn npn nqn nrn nsn ntn nvn nzn pbn pcn pdn pfn pgn phn pjn pln pmn pnn ppn pqn prn psn ptn pvn pzn qbn qcn qdn qfn qgn qhn qjn qln qmn qnn qpn qqn qrn qsn qtn qvn qzn rbn rcn rdn rfn rgn rhn rjn rln rmn rnn rpn rqn rrn rsn rtn rvn rzn sbn scn sdn sfn sgn shn sjn sln smn snn spn sqn srn ssn stn svn szn tbn tcn tdn tfn tgn thn tjn tln tmn tnn tpn tqn trn tsn ttn tvn tzn vbn vcn vdn vfn vgn vhn vjn vln vmn vnn vpn vqn vrn vsn vtn vvn vzn zbn zcn zdn zfn zgn zhn zjn zln zmn znn zpn zqn zrn zsn ztn zvn zzn bbp bcp bdp bfp bgp bhp bjp blp bmp bnp bpp bqp brp bsp btp bvp bzp cbp ccp cdp cfp cgp chp cjp clp cmp cnp cpp cqp crp csp ctp cvp czp dbp dcp ddp dfp dgp dhp djp dlp dmp dnp dpp dqp drp dsp dtp dvp dzp fbp fcp fdp ffp fgp fhp fjp flp fmp fnp fpp fqp frp fsp ftp fvp fzp gbp gcp gdp gfp ggp ghp gjp glp gmp gnp gpp gqp grp gsp gtp gvp gzp hbp hcp hdp hfp hgp hhp hjp hlp hmp hnp hpp hqp hrp hsp htp hvp hzp jbp jcp jdp jfp jgp jhp jjp jlp jmp jnp jpp jqp jrp jsp jtp jvp jzp lbp lcp ldp lfp lgp lhp ljp llp lmp lnp lpp lqp lrp lsp ltp lvp lzp mbp mcp mdp mfp mgp mhp mjp mlp mmp mnp mpp mqp mrp msp mtp mvp mzp nbp ncp ndp nfp ngp nhp njp nlp nmp nnp npp nqp nrp nsp ntp nvp nzp pbp pcp pdp pfp pgp php pjp plp pmp pnp ppp pqp prp psp ptp pvp pzp qbp qcp qdp qfp qgp qhp qjp qlp qmp qnp qpp qqp qrp qsp qtp qvp qzp rbp rcp rdp rfp rgp rhp rjp rlp rmp rnp rpp rqp rrp rsp rtp rvp rzp sbp scp sdp sfp sgp shp sjp slp smp snp spp sqp srp ssp stp svp szp tbp tcp tdp tfp tgp thp tjp tlp tmp tnp tpp tqp trp tsp ttp tvp tzp vbp vcp vdp vfp vgp vhp vjp vlp vmp vnp vpp vqp vrp vsp vtp vvp vzp zbp zcp zdp zfp zgp zhp zjp zlp zmp znp zpp zqp zrp zsp ztp zvp zzp bbr bcr bdr bfr bgr bhr bjr blr bmr bnr bpr bqr brr bsr btr bvr bzr cbr ccr cdr cfr cgr chr cjr clr cmr cnr cpr cqr crr csr ctr cvr czr dbr dcr ddr dfr dgr dhr djr dlr dmr dnr dpr dqr drr dsr dtr dvr dzr fbr fcr fdr ffr fgr fhr fjr flr fmr fnr fpr fqr frr fsr ftr fvr fzr gbr gcr gdr gfr ggr ghr gjr glr gmr gnr gpr gqr grr gsr gtr gvr gzr hbr hcr hdr hfr hgr hhr hjr hlr hmr hnr hpr hqr hrr hsr htr hvr hzr jbr jcr jdr jfr jgr jhr jjr jlr jmr jnr jpr jqr jrr jsr jtr jvr jzr lbr lcr ldr lfr lgr lhr ljr llr lmr lnr lpr lqr lrr lsr ltr lvr lzr mbr mcr mdr mfr mgr mhr mjr mlr mmr mnr mpr mqr mrr msr mtr mvr mzr nbr ncr ndr nfr ngr nhr njr nlr nmr nnr npr nqr nrr nsr ntr nvr nzr pbr pcr pdr pfr pgr phr pjr plr pmr pnr ppr pqr prr psr ptr pvr pzr qbr qcr qdr qfr qgr qhr qjr qlr qmr qnr qpr qqr qrr qsr qtr qvr qzr rbr rcr rdr rfr rgr rhr rjr rlr rmr rnr rpr rqr rrr rsr rtr rvr rzr sbr scr sdr sfr sgr shr sjr slr smr snr spr sqr srr ssr str svr szr tbr tcr tdr tfr tgr thr tjr tlr tmr tnr tpr tqr trr tsr ttr tvr tzr vbr vcr vdr vfr vgr vhr vjr vlr vmr vnr vpr vqr vrr vsr vtr vvr vzr zbr zcr zdr zfr zgr zhr zjr zlr zmr znr zpr zqr zrr zsr ztr zvr zzr bbs bcs bds bfs bgs bhs bjs bls bms bns bps bqs brs bss bts bvs bzs cbs ccs cds cfs cgs chs cjs cls cms cns cps cqs crs css cts cvs czs dbs dcs dds dfs dgs dhs djs dls dms dns dps dqs drs dss dts dvs dzs fbs fcs fds ffs fgs fhs fjs fls fms fns fps fqs frs fss fts fvs fzs gbs gcs gds gfs ggs ghs gjs gls gms gns gps gqs grs gss gts gvs gzs hbs hcs hds hfs hgs hhs hjs hls hms hns hps hqs hrs hss hts hvs hzs jbs jcs jds jfs jgs jhs jjs jls jms jns jps jqs jrs jss jts jvs jzs lbs lcs lds lfs lgs lhs ljs lls lms lns lps lqs lrs lss lts lvs lzs mbs mcs mds mfs mgs mhs mjs mls mms mns mps mqs mrs mss mts mvs mzs nbs ncs nds nfs ngs nhs njs nls nms nns nps nqs nrs nss nts nvs nzs pbs pcs pds pfs pgs phs pjs pls pms pns pps pqs prs pss pts pvs pzs qbs qcs qds qfs qgs qhs qjs qls qms qns qps qqs qrs qss qts qvs qzs rbs rcs rds rfs rgs rhs rjs rls rms rns rps rqs rrs rss rts rvs rzs sbs scs sds sfs sgs shs sjs sls sms sns sps sqs srs sss sts svs szs tbs tcs tds tfs tgs ths tjs tls tms tns tps tqs trs tss tts tvs tzs vbs vcs vds vfs vgs vhs vjs vls vms vns vps vqs vrs vss vts vvs vzs zbs zcs zds zfs zgs zhs zjs zls zms zns zps zqs zrs zss zts zvs zzs bbt bct bdt bft bgt bht bjt blt bmt bnt bpt bqt brt bst btt bvt bzt cbt cct cdt cft cgt cht cjt clt cmt cnt cpt cqt crt cst ctt cvt czt dbt dct ddt dft dgt dht djt dlt dmt dnt dpt dqt drt dst dtt dvt dzt fbt fct fdt fft fgt fht fjt flt fmt fnt fpt fqt frt fst ftt fvt fzt gbt gct gdt gft ggt ght gjt glt gmt gnt gpt gqt grt gst gtt gvt gzt hbt hct hdt hft hgt hht hjt hlt hmt hnt hpt hqt hrt hst htt hvt hzt jbt jct jdt jft jgt jht jjt jlt jmt jnt jpt jqt jrt jst jtt jvt jzt lbt lct ldt lft lgt lht ljt llt lmt lnt lpt lqt lrt lst ltt lvt lzt mbt mct mdt mft mgt mht mjt mlt mmt mnt mpt mqt mrt mst mtt mvt mzt nbt nct ndt nft ngt nht njt nlt nmt nnt npt nqt nrt nst ntt nvt nzt pbt pct pdt pft pgt pht pjt plt pmt pnt ppt pqt prt pst ptt pvt pzt qbt qct qdt qft qgt qht qjt qlt qmt qnt qpt qqt qrt qst qtt qvt qzt rbt rct rdt rft rgt rht rjt rlt rmt rnt rpt rqt rrt rst rtt rvt rzt sbt sct sdt sft sgt sht sjt slt smt snt spt sqt srt sst stt svt szt tbt tct tdt tft tgt tht tjt tlt tmt tnt tpt tqt trt tst ttt tvt tzt vbt vct vdt vft vgt vht vjt vlt vmt vnt vpt vqt vrt vst vtt vvt vzt zbt zct zdt zft zgt zht zjt zlt zmt znt zpt zqt zrt zst ztt zvt zzt