3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php mt_srand(microtime(true)*100000 + memory_get_usage(true)); $var= mt_rand(0, mt_getrandmax()) * 0xFFFFFFFF; $var=(int)$var; echo $var; echo "size: ".PHP_INT_SIZE;
Output for 7.1.0
2036218005712397955size: 8
Output for 7.0.14
3323799757089897915size: 8
Output for 7.0.6
3097787183478764280size: 8
Output for 7.0.5
6235109708411728065size: 8
Output for 7.0.4
1454753668184124735size: 8
Output for 7.0.3
4607796658180051290size: 8
Output for 7.0.2
8280669220746110775size: 8
Output for 7.0.1
1582037373318560100size: 8
Output for 7.0.0
8098091251957353705size: 8
Output for 5.6.28
5521981370338769715size: 8
Output for 5.6.21
8911723289317159650size: 8
Output for 5.6.20
105814293203128950size: 8
Output for 5.6.19
9022650741084986100size: 8
Output for 5.6.18
7682670556212210645size: 8
Output for 5.6.17
8835588723361033950size: 8
Output for 5.6.16
7784961653383512735size: 8
Output for 5.6.15
5627229926154833970size: 8
Output for 5.6.14
1558856232236602500size: 8
Output for 5.6.13
9005675226448882200size: 8
Output for 5.6.12
4199627031165005175size: 8
Output for 5.6.11
4797348872171840670size: 8
Output for 5.6.10
6188631668289278025size: 8
Output for 5.6.9
213463830226378695size: 8
Output for 5.6.8
5647230231637983750size: 8
Output for 5.6.7
7248177564272381160size: 8
Output for 5.5.35
3310953544270291275size: 8
Output for 5.5.34
8237358212197582425size: 8
Output for 5.5.33
4287451321277082045size: 8
Output for 5.5.32
4087760854165314345size: 8
Output for 5.5.31
2414708154588543930size: 8
Output for 5.5.30
4839587221228377360size: 8
Output for 5.5.29
3580170117319798335size: 8
Output for 5.5.28
3254543267724102180size: 8
Output for 5.5.27
8112030138816546705size: 8
Output for 5.5.26
8578745852304174105size: 8
Output for 5.5.25
8737859938018976430size: 8
Output for 5.5.24
6683717448941611620size: 8
Output for 5.4.45
1753764394999308435size: 8
Output for 5.4.44
2766031862229701805size: 8
Output for 5.4.43
948781579958042670size: 8
Output for 5.4.42
1087372658374926420size: 8
Output for 5.4.41
4448156159798737290size: 8
Output for 5.4.40
3015009475643345115size: 8
Output for 5.4.39
1170980162481674175size: 8
Output for 5.4.38
7918966763291291055size: 8
Output for 5.4.37
8782928331220501815size: 8
Output for 5.4.36
8642169204852709605size: 8
Output for 5.4.35
1569525046961499465size: 8
Output for 5.4.34
2554946318603321820size: 8
Output for 5.4.32
3354568769647291770size: 8
Output for 5.4.31
8629672761284705880size: 8
Output for 5.4.30
998484663777667965size: 8
Output for 5.4.29
134981313024258870size: 8
Output for 5.4.28
6988448123005963125size: 8
Output for 5.4.27
6225105887768083245size: 8
Output for 5.4.26
5152448603389612875size: 8
Output for 5.4.25
6763431818598512280size: 8
Output for 5.4.24
5365026076920355125size: 8
Output for 5.4.23
3662771357833967835size: 8
Output for 5.4.22
816732209177846370size: 8
Output for 5.4.21
3755752739731202760size: 8
Output for 5.4.20
2933644730443602345size: 8
Output for 5.4.19
6118921626082162995size: 8
Output for 5.4.18
137810369326769715size: 8
Output for 5.4.17
4695082063040591805size: 8
Output for 5.4.16
6117427303881017415size: 8
Output for 5.4.15
8463269295731535210size: 8
Output for 5.4.14
9163224458009620455size: 8
Output for 5.4.13
425213603429832315size: 8
Output for 5.4.12
4253906724760000095size: 8
Output for 5.4.11
8444934844853358720size: 8
Output for 5.4.10
4628145268330956390size: 8
Output for 5.4.9
5420999138680815105size: 8
Output for 5.4.8
5863063522306569930size: 8
Output for 5.4.7
5227954738321068765size: 8
Output for 5.4.6
6553543325306921745size: 8
Output for 5.4.5
6181393183813355430size: 8
Output for 5.4.4
8604409471597739820size: 8
Output for 5.4.3
173321828936727735size: 8
Output for 5.4.2
7252941121089200250size: 8
Output for 5.4.1
570427598725017375size: 8
Output for 5.4.0
6410657799286080690size: 8
Output for 5.3.29
7216538932506899475size: 8
Output for 5.3.28
251781415308459555size: 8
Output for 5.3.27
5685386300179968840size: 8
Output for 5.3.26
8826616369178054445size: 8
Output for 5.3.25
2543456817232728960size: 8
Output for 5.3.24
4064403374611125930size: 8
Output for 5.3.23
5230762315492137315size: 8
Output for 5.3.22
5634756216389194515size: 8
Output for 5.3.21
2256494508767138355size: 8
Output for 5.3.20
2409611510173095705size: 8
Output for 5.3.19
6432407406293778315size: 8
Output for 5.3.18
9133442351627206290size: 8
Output for 5.3.17
1508395292847839865size: 8
Output for 5.3.16
2527897495047707295size: 8
Output for 5.3.15
4539634466351479425size: 8
Output for 5.3.14
8812581983721057120size: 8
Output for 5.3.13
2116905142511943165size: 8
Output for 5.3.12
1326102720340868250size: 8
Output for 5.3.11
4816050813336679245size: 8
Output for 5.3.10
6640058440668005895size: 8
Output for 5.3.9
7596886444284735495size: 8
Output for 5.3.8
3618197431332213915size: 8
Output for 5.3.7
3296887736832563730size: 8
Output for 5.3.6
3846744847396216305size: 8
Output for 5.3.5
8025132144300982485size: 8
Output for 5.3.4
602198051626717200size: 8
Output for 5.3.3
3614730258853783035size: 8
Output for 5.3.2
3469517947185777615size: 8
Output for 5.3.1
3745379435936070975size: 8
Output for 5.3.0
5218477635286613565size: 8
Output for 5.2.17
2991743470302605610size: 8
Output for 5.2.16
4033761815208211200size: 8
Output for 5.2.15
4191247867800040005size: 8
Output for 5.2.14
6967905844189791885size: 8
Output for 5.2.13
2170054808736787110size: 8
Output for 5.2.12
5997754370987635245size: 8
Output for 5.2.11
831174882815840985size: 8
Output for 5.2.10
7846983463614409245size: 8
Output for 5.2.9
7798488682943886300size: 8
Output for 5.2.8
4239418245295804305size: 8
Output for 5.2.7
3463373777426948070size: 8
Output for 5.2.6
6200206411875774750size: 8
Output for 5.2.5
750675990137868330size: 8
Output for 5.2.4
591295826904173460size: 8
Output for 5.2.3
5050296439820369445size: 8
Output for 5.2.2
2027012486344907490size: 8
Output for 5.2.1
275885914229300025size: 8
Output for 5.0.0 - 5.2.0
Fatal error: Call to undefined function memory_get_usage() in /in/gGD2g on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: memory_get_usage() in /in/gGD2g on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: memory_get_usage() in /in/gGD2g on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: memory_get_usage() in /in/gGD2g on line 2