3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = function(){echo 'hi';}; echo spl_object_hash($a) . PHP_EOL; echo spl_object_hash($a);
Output for 7.1.0
000000005c9abca400000000265f3635 000000005c9abca400000000265f3635
Output for 7.0.14
0000000063300945000000006dbc5d04 0000000063300945000000006dbc5d04
Output for 7.0.10
0000000042d7d381000000001bfb7833 0000000042d7d381000000001bfb7833
Output for 7.0.9
0000000067af4def00000000424f9e82 0000000067af4def00000000424f9e82
Output for 7.0.8
000000006ecd14fa0000000074376b47 000000006ecd14fa0000000074376b47
Output for 7.0.7
0000000017a9969400000000423d143b 0000000017a9969400000000423d143b
Output for 7.0.6
000000006da7c8160000000018e771f0 000000006da7c8160000000018e771f0
Output for 7.0.5
00000000309e5ddb000000007f01d007 00000000309e5ddb000000007f01d007
Output for 7.0.4
000000003e6fb1d00000000009b66823 000000003e6fb1d00000000009b66823
Output for 7.0.3
000000000f4f459a0000000061b2ab84 000000000f4f459a0000000061b2ab84
Output for 7.0.2
00000000565700e10000000025e80d46 00000000565700e10000000025e80d46
Output for 7.0.1
000000003332e1c8000000002f8fb941 000000003332e1c8000000002f8fb941
Output for 7.0.0
0000000049372e250000000069c857ed 0000000049372e250000000069c857ed
Output for 5.6.28
000000003fa847aa000000007da11d7d 000000003fa847aa000000007da11d7d
Output for 5.6.25
000000004251e470000000007edf8519 000000004251e470000000007edf8519
Output for 5.6.24
000000000a73efb1000000004fd65097 000000000a73efb1000000004fd65097
Output for 5.6.23
00000000360ebdf0000000003d2a4cc8 00000000360ebdf0000000003d2a4cc8
Output for 5.6.22
000000001d5b12ab000000001acaf930 000000001d5b12ab000000001acaf930
Output for 5.6.21
000000005042d630000000002485e035 000000005042d630000000002485e035
Output for 5.6.20
000000001026c2800000000054f94a5f 000000001026c2800000000054f94a5f
Output for 5.6.19
000000001f0e84c8000000005848aa18 000000001f0e84c8000000005848aa18
Output for 5.6.18
00000000217605c3000000003f849e56 00000000217605c3000000003f849e56
Output for 5.6.17
00000000789d778a0000000045165e17 00000000789d778a0000000045165e17
Output for 5.6.16
0000000071dcac17000000003dbbd389 0000000071dcac17000000003dbbd389
Output for 5.6.15
00000000192017d700000000540d759b 00000000192017d700000000540d759b
Output for 5.6.14
000000001f7022f5000000007dec9516 000000001f7022f5000000007dec9516
Output for 5.6.13
0000000065ae3583000000004d0c3c00 0000000065ae3583000000004d0c3c00
Output for 5.6.12
0000000042b616c2000000003bf111f4 0000000042b616c2000000003bf111f4
Output for 5.6.11
000000001126340e000000007d536f61 000000001126340e000000007d536f61
Output for 5.6.10
0000000042dae21700000000489d7148 0000000042dae21700000000489d7148
Output for 5.6.9
00000000050b2cb1000000000fc03eff 00000000050b2cb1000000000fc03eff
Output for 5.6.8
00000000561073bb000000005aa0b5a9 00000000561073bb000000005aa0b5a9
Output for 5.6.7
000000000780a0c70000000076a2e3a9 000000000780a0c70000000076a2e3a9
Output for 5.6.6
0000000022ea8480000000001c05389e 0000000022ea8480000000001c05389e
Output for 5.6.5
000000001742042f000000000dee299c 000000001742042f000000000dee299c
Output for 5.6.4
00000000574119430000000067ffcdee 00000000574119430000000067ffcdee
Output for 5.6.3
0000000012130eb400000000006c6956 0000000012130eb400000000006c6956
Output for 5.6.2
0000000020c82a4a000000001f456027 0000000020c82a4a000000001f456027
Output for 5.6.1
0000000028dbdb34000000005e59a759 0000000028dbdb34000000005e59a759
Output for 5.6.0
000000007dd2a431000000004cddc098 000000007dd2a431000000004cddc098
Output for 5.5.38
00000000674f901b000000007d067085 00000000674f901b000000007d067085
Output for 5.5.37
0000000059465d480000000068306ca1 0000000059465d480000000068306ca1
Output for 5.5.36
000000006149392a00000000390f9425 000000006149392a00000000390f9425
Output for 5.5.35
0000000018fae371000000000e6b2e88 0000000018fae371000000000e6b2e88
Output for 5.5.34
00000000442924510000000070a4c596 00000000442924510000000070a4c596
Output for 5.5.33
000000004437da3200000000106d20b9 000000004437da3200000000106d20b9
Output for 5.5.32
000000003adb82b80000000048870864 000000003adb82b80000000048870864
Output for 5.5.31
000000004514775b0000000060630dae 000000004514775b0000000060630dae
Output for 5.5.30
0000000021e7fec6000000007d0fdc82 0000000021e7fec6000000007d0fdc82
Output for 5.5.29
00000000349d01a10000000077afe2ba 00000000349d01a10000000077afe2ba
Output for 5.5.28
000000006f1015b6000000004758556d 000000006f1015b6000000004758556d
Output for 5.5.27
0000000077c68eb9000000001f6f8f06 0000000077c68eb9000000001f6f8f06
Output for 5.5.26
00000000276aeba7000000000a085f29 00000000276aeba7000000000a085f29
Output for 5.5.25
000000002433ee01000000004c3a67f9 000000002433ee01000000004c3a67f9
Output for 5.5.24
000000001666271c000000007cf49304 000000001666271c000000007cf49304
Output for 5.5.23
0000000012cf0ae0000000002e8e1d2f 0000000012cf0ae0000000002e8e1d2f
Output for 5.5.22
0000000029c89fc7000000001cfb232e 0000000029c89fc7000000001cfb232e
Output for 5.5.21
0000000064d45ded000000002181ed2f 0000000064d45ded000000002181ed2f
Output for 5.5.20
0000000069a4dafb000000005f52a5a6 0000000069a4dafb000000005f52a5a6
Output for 5.5.19
000000005998f917000000004887369d 000000005998f917000000004887369d
Output for 5.5.18
00000000255f7090000000004d921d63 00000000255f7090000000004d921d63
Output for 5.5.16
0000000053479f7c0000000068bc1089 0000000053479f7c0000000068bc1089
Output for 5.5.15
000000003562fed70000000029e0855f 000000003562fed70000000029e0855f
Output for 5.5.14
000000003c3c682d00000000785379c0 000000003c3c682d00000000785379c0
Output for 5.5.13
000000007fac60ae00000000293f3e7c 000000007fac60ae00000000293f3e7c
Output for 5.5.12
000000004fa0f21000000000301bd1bc 000000004fa0f21000000000301bd1bc
Output for 5.5.11
0000000029ead90300000000410cec6f 0000000029ead90300000000410cec6f
Output for 5.5.10
00000000196345a7000000005feb02e6 00000000196345a7000000005feb02e6
Output for 5.5.9
0000000064a95c1200000000091b5cc4 0000000064a95c1200000000091b5cc4
Output for 5.5.8
0000000014ac2e5b00000000549d6632 0000000014ac2e5b00000000549d6632
Output for 5.5.7
0000000070dbb6730000000078ef19a5 0000000070dbb6730000000078ef19a5
Output for 5.5.6
000000005609f51f000000004a2ff9fc 000000005609f51f000000004a2ff9fc
Output for 5.5.5
0000000010ce9a90000000004339ff9e 0000000010ce9a90000000004339ff9e
Output for 5.5.4
00000000028dd7eb000000003ce3f164 00000000028dd7eb000000003ce3f164
Output for 5.5.3
00000000496ca72700000000004ef6fd 00000000496ca72700000000004ef6fd
Output for 5.5.2
000000004a849364000000000978acf7 000000004a849364000000000978acf7
Output for 5.5.1
000000006b960855000000002db0ba3e 000000006b960855000000002db0ba3e
Output for 5.5.0
000000002bd08714000000005aedac5c 000000002bd08714000000005aedac5c
Output for 5.4.45
0000000044b9af4400000000564e080b 0000000044b9af4400000000564e080b
Output for 5.4.44
000000000decd09a0000000051f5d1b3 000000000decd09a0000000051f5d1b3
Output for 5.4.43
0000000067ebbde3000000004a11d668 0000000067ebbde3000000004a11d668
Output for 5.4.42
000000006b8cd462000000007d561185 000000006b8cd462000000007d561185
Output for 5.4.41
0000000028db5b5900000000355694fe 0000000028db5b5900000000355694fe
Output for 5.4.40
00000000159ea12a000000005a1a452a 00000000159ea12a000000005a1a452a
Output for 5.4.39
000000007131b653000000005c402a96 000000007131b653000000005c402a96
Output for 5.4.38
0000000042902702000000005cd68e97 0000000042902702000000005cd68e97
Output for 5.4.37
000000002f9acfef0000000050804093 000000002f9acfef0000000050804093
Output for 5.4.36
0000000073474b4800000000421b830a 0000000073474b4800000000421b830a
Output for 5.4.35
000000006d043c06000000004e4ec08b 000000006d043c06000000004e4ec08b
Output for 5.4.34
000000007df0d344000000003e03575f 000000007df0d344000000003e03575f
Output for 5.4.32
0000000070e917f3000000000e36665a 0000000070e917f3000000000e36665a
Output for 5.4.31
0000000037ab5072000000005fdc67af 0000000037ab5072000000005fdc67af
Output for 5.4.30
00000000380b566b000000000cf6f1d7 00000000380b566b000000000cf6f1d7
Output for 5.4.29
00000000296ab7ff000000006555f482 00000000296ab7ff000000006555f482
Output for 5.4.28
0000000007765e25000000000bb7a511 0000000007765e25000000000bb7a511
Output for 5.4.27
000000007d6d98880000000001f5f84b 000000007d6d98880000000001f5f84b
Output for 5.4.26
0000000008fa599c000000003defa20a 0000000008fa599c000000003defa20a
Output for 5.4.25
00000000171ccd50000000003a9dc51c 00000000171ccd50000000003a9dc51c
Output for 5.4.24
00000000796316f3000000000b7842c6 00000000796316f3000000000b7842c6
Output for 5.4.23
00000000635f1f0a000000000d058dbf 00000000635f1f0a000000000d058dbf
Output for 5.4.22
000000002d91a2800000000056152db3 000000002d91a2800000000056152db3
Output for 5.4.21
00000000304f1fc400000000393e3394 00000000304f1fc400000000393e3394
Output for 5.4.20
0000000018472ed2000000000004519e 0000000018472ed2000000000004519e
Output for 5.4.19
000000001d48391700000000471960dc 000000001d48391700000000471960dc
Output for 5.4.18
00000000769a6807000000000f43d87c 00000000769a6807000000000f43d87c
Output for 5.4.17
0000000072451b9e000000001b4214b4 0000000072451b9e000000001b4214b4
Output for 5.4.16
0000000044295e5d000000005ce29775 0000000044295e5d000000005ce29775
Output for 5.4.15
000000004773338a0000000017403e6c 000000004773338a0000000017403e6c
Output for 5.4.14
0000000034c20a970000000072770c5a 0000000034c20a970000000072770c5a
Output for 5.4.13
000000001d48341d0000000033951681 000000001d48341d0000000033951681
Output for 5.4.12
0000000057bca845000000005d6e6038 0000000057bca845000000005d6e6038
Output for 5.4.11
0000000054dceab7000000001efbc86a 0000000054dceab7000000001efbc86a
Output for 5.4.10
00000000601444c9000000006f60f65a 00000000601444c9000000006f60f65a
Output for 5.4.9
0000000004f91e80000000005156f804 0000000004f91e80000000005156f804
Output for 5.4.8
000000005513461c000000000e1c9ab5 000000005513461c000000000e1c9ab5
Output for 5.4.7
0000000035c32e4a000000002fb3d25a 0000000035c32e4a000000002fb3d25a
Output for 5.4.6
00000000682088750000000001d51625 00000000682088750000000001d51625
Output for 5.4.5
00000000568bbd5400000000082e91d6 00000000568bbd5400000000082e91d6
Output for 5.4.4
000000002d5d2efb000000002e1c57d5 000000002d5d2efb000000002e1c57d5
Output for 5.4.3
000000006bf37a94000000005a85c7a3 000000006bf37a94000000005a85c7a3
Output for 5.4.2
000000007c16c5ef00000000708e0db8 000000007c16c5ef00000000708e0db8
Output for 5.4.1
0000000009b43e5600000000226a01ae 0000000009b43e5600000000226a01ae
Output for 5.4.0
00000000169dd1c10000000050ff7933 00000000169dd1c10000000050ff7933
Output for 5.3.29
000000002b71ae23000000006fb81afa 000000002b71ae23000000006fb81afa
Output for 5.3.28
000000000ab7ce1d00000000259bc6d3 000000000ab7ce1d00000000259bc6d3
Output for 5.3.27
000000006d006348000000000e2b2fe5 000000006d006348000000000e2b2fe5
Output for 5.3.26
0000000007b103b9000000003f0e6ee6 0000000007b103b9000000003f0e6ee6
Output for 5.3.25
000000007b9e8a7d000000006ea3d49e 000000007b9e8a7d000000006ea3d49e
Output for 5.3.24
000000005f2ef08e000000002d6fa040 000000005f2ef08e000000002d6fa040
Output for 5.3.23
00000000721696b2000000003d21b248 00000000721696b2000000003d21b248
Output for 5.3.22
0000000044874f690000000019b982cb 0000000044874f690000000019b982cb
Output for 5.3.21
000000003b62d670000000005f7cf914 000000003b62d670000000005f7cf914
Output for 5.3.20
000000002e95b07f0000000066deedbf 000000002e95b07f0000000066deedbf
Output for 5.3.19
00000000583134890000000078a55dc3 00000000583134890000000078a55dc3
Output for 5.3.18
0000000023023429000000004be92603 0000000023023429000000004be92603
Output for 5.3.17
000000004c8cad5f0000000061e0a4ae 000000004c8cad5f0000000061e0a4ae
Output for 5.3.16
0000000020f499b60000000007bfe356 0000000020f499b60000000007bfe356
Output for 5.3.15
00000000506a4ae5000000001d097df7 00000000506a4ae5000000001d097df7
Output for 5.3.14
0000000060026e0f000000002cd19f7b 0000000060026e0f000000002cd19f7b
Output for 5.3.13
0000000076f7339200000000178acc00 0000000076f7339200000000178acc00
Output for 5.3.12
0000000054b488e80000000021c5545c 0000000054b488e80000000021c5545c
Output for 5.3.11
0000000006f2347900000000383853c1 0000000006f2347900000000383853c1
Output for 5.3.10
000000007dde3d8a000000000820e095 000000007dde3d8a000000000820e095
Output for 5.3.9
000000001f04e95100000000184642ad 000000001f04e95100000000184642ad
Output for 5.3.8
000000005ddd72ff000000004507d2d6 000000005ddd72ff000000004507d2d6
Output for 5.3.7
00000000409f6fed00000000091a64fb 00000000409f6fed00000000091a64fb
Output for 5.3.6
0000000068c39438000000005294e100 0000000068c39438000000005294e100
Output for 5.3.5
000000002f10b33f00000000139792ec 000000002f10b33f00000000139792ec
Output for 5.3.4
0000000010366061000000006282d181 0000000010366061000000006282d181
Output for 5.3.3
0000000030f68c910000000032f073cb 0000000030f68c910000000032f073cb
Output for 5.3.2
000000000e59740c00000000799b5dbc 000000000e59740c00000000799b5dbc
Output for 5.3.1
000000003564164e000000000930496f 000000003564164e000000000930496f
Output for 5.3.0
0000000033e71b4e0000000072f98056 0000000033e71b4e0000000072f98056
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected T_FUNCTION in /in/UBdDe on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_FUNCTION in /in/UBdDe on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/UBdDe on line 3
Process exited with code 255.