3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class a {} $a=new a; $aa=new a; $aaa=new a; echo(spl_object_hash($a)."\n".spl_object_hash($aa)."\n".spl_object_hash($aaa)."\n");
based on sSnJd
Output for 7.2.6
000000002a30b5970000000060153bd9 000000002a30b5940000000060153bd9 000000002a30b5950000000060153bd9
Output for 7.2.0
000000000ca616610000000015c26277 000000000ca616620000000015c26277 000000000ca616630000000015c26277
Output for 7.1.20
000000007fbc636a0000000023ecee24 000000007fbc63690000000023ecee24 000000007fbc63680000000023ecee24
Output for 7.1.10
00000000729fb4240000000009ed767e 00000000729fb4270000000009ed767e 00000000729fb4260000000009ed767e
Output for 7.1.7
0000000005c846f0000000004bd5a2c6 0000000005c846f3000000004bd5a2c6 0000000005c846f2000000004bd5a2c6
Output for 7.1.6
00000000762fd8b8000000005246a0ab 00000000762fd8bb000000005246a0ab 00000000762fd8ba000000005246a0ab
Output for 7.1.5
000000003bdaf9990000000035879fbb 000000003bdaf99a0000000035879fbb 000000003bdaf99b0000000035879fbb
Output for 7.1.4
0000000056904ddd0000000052916587 0000000056904dde0000000052916587 0000000056904ddf0000000052916587
Output for 7.1.3
0000000032bcae8e0000000000e63274 0000000032bcae8d0000000000e63274 0000000032bcae8c0000000000e63274
Output for 7.1.2
0000000006cff5ec000000000d30e355 0000000006cff5ef000000000d30e355 0000000006cff5ee000000000d30e355
Output for 7.1.1
000000003e53875a0000000000eceb11 000000003e5387590000000000eceb11 000000003e5387580000000000eceb11
Output for 7.1.0
000000003872e522000000005e58db24 000000003872e521000000005e58db24 000000003872e520000000005e58db24
Output for 7.0.20
000000003937cc570000000006655225 000000003937cc540000000006655225 000000003937cc550000000006655225
Output for 7.0.19
00000000627637e5000000003e84ac26 00000000627637e6000000003e84ac26 00000000627637e7000000003e84ac26
Output for 7.0.18
00000000688fa371000000004e865d92 00000000688fa372000000004e865d92 00000000688fa373000000004e865d92
Output for 7.0.17
00000000276245c400000000003d3570 00000000276245c700000000003d3570 00000000276245c600000000003d3570
Output for 7.0.16
000000002d48775c000000000a2f41eb 000000002d48775f000000000a2f41eb 000000002d48775e000000000a2f41eb
Output for 7.0.15
0000000035138064000000004cfccc13 0000000035138067000000004cfccc13 0000000035138066000000004cfccc13
Output for 7.0.14
000000003d9c02d00000000053119619 000000003d9c02d30000000053119619 000000003d9c02d20000000053119619
Output for 7.0.13
00000000398a1d57000000003a5c5c32 00000000398a1d54000000003a5c5c32 00000000398a1d55000000003a5c5c32
Output for 7.0.12
00000000188d747b000000007ee04ab4 00000000188d7478000000007ee04ab4 00000000188d7479000000007ee04ab4
Output for 7.0.11
00000000421324dc0000000043ec9f26 00000000421324df0000000043ec9f26 00000000421324de0000000043ec9f26
Output for 7.0.10
0000000008dd2fbc0000000047e455f8 0000000008dd2fbf0000000047e455f8 0000000008dd2fbe0000000047e455f8
Output for 7.0.9
000000004ad0b14b0000000009d6a9f6 000000004ad0b1480000000009d6a9f6 000000004ad0b1490000000009d6a9f6
Output for 7.0.8
000000002d59a1cc000000003f326296 000000002d59a1cf000000003f326296 000000002d59a1ce000000003f326296
Output for 7.0.7
0000000061c3c495000000001a7be768 0000000061c3c496000000001a7be768 0000000061c3c497000000001a7be768
Output for 7.0.6
000000004ca33a4b000000003ab02d9a 000000004ca33a48000000003ab02d9a 000000004ca33a49000000003ab02d9a
Output for 7.0.5
0000000066d2ca0a000000007a44387f 0000000066d2ca09000000007a44387f 0000000066d2ca08000000007a44387f
Output for 7.0.4
000000005f6da84c0000000026081442 000000005f6da84f0000000026081442 000000005f6da84e0000000026081442
Output for 7.0.3
0000000063134e7c000000001a9f98b6 0000000063134e7f000000001a9f98b6 0000000063134e7e000000001a9f98b6
Output for 7.0.2
0000000049fd4f040000000071a7baf5 0000000049fd4f070000000071a7baf5 0000000049fd4f060000000071a7baf5
Output for 7.0.1
0000000030aeee93000000002d8c6ea6 0000000030aeee90000000002d8c6ea6 0000000030aeee91000000002d8c6ea6
Output for 7.0.0
00000000565571fd00000000519bfc49 00000000565571fe00000000519bfc49 00000000565571ff00000000519bfc49
Output for hhvm-3.15.4
00000000000000007db305db64d29942 00000000000000007db305db64d29962 00000000000000007db305db64d29982
Output for 5.6.30
00000000692de520000000001b0fe7c3 00000000692de523000000001b0fe7c3 00000000692de522000000001b0fe7c3
Output for 5.6.29
0000000002513ae6000000000c9bb5ba 0000000002513ae5000000000c9bb5ba 0000000002513ae4000000000c9bb5ba
Output for 5.6.28
000000002ddef8780000000063ff10bc 000000002ddef87b0000000063ff10bc 000000002ddef87a0000000063ff10bc
Output for 5.6.27
0000000031ebba3e000000004b651a41 0000000031ebba3d000000004b651a41 0000000031ebba3c000000004b651a41
Output for 5.6.26
0000000068b96a570000000020cb107b 0000000068b96a540000000020cb107b 0000000068b96a550000000020cb107b
Output for 5.6.25
000000007d3ddbe30000000050c910ca 000000007d3ddbe00000000050c910ca 000000007d3ddbe10000000050c910ca
Output for 5.6.24
000000000aeb04fa00000000398328ae 000000000aeb04f900000000398328ae 000000000aeb04f800000000398328ae
Output for 5.6.23
000000001ab185dc0000000022ca6f24 000000001ab185df0000000022ca6f24 000000001ab185de0000000022ca6f24
Output for 5.6.22
000000007268e1f8000000003d88a2ae 000000007268e1fb000000003d88a2ae 000000007268e1fa000000003d88a2ae
Output for 5.6.21
000000006aed442d000000001ffe6919 000000006aed442e000000001ffe6919 000000006aed442f000000001ffe6919
Output for 5.6.20
00000000317a8ead000000003524482e 00000000317a8eae000000003524482e 00000000317a8eaf000000003524482e
Output for 5.6.19
000000005be59ba60000000062a86f3a 000000005be59ba50000000062a86f3a 000000005be59ba40000000062a86f3a
Output for 5.6.18
000000006851aeb500000000783b5447 000000006851aeb600000000783b5447 000000006851aeb700000000783b5447
Output for 5.6.17
000000001258c192000000003f95e880 000000001258c191000000003f95e880 000000001258c190000000003f95e880
Output for 5.6.16
0000000079e451c1000000001a4c4f5a 0000000079e451c2000000001a4c4f5a 0000000079e451c3000000001a4c4f5a
Output for 5.6.15
00000000165e98d500000000008f0380 00000000165e98d600000000008f0380 00000000165e98d700000000008f0380
Output for 5.6.14
0000000072f09de60000000054175cf4 0000000072f09de50000000054175cf4 0000000072f09de40000000054175cf4
Output for 5.6.13
0000000016068fc10000000012377972 0000000016068fc20000000012377972 0000000016068fc30000000012377972
Output for 5.6.12
000000006c8d69ed000000007ac4de43 000000006c8d69ee000000007ac4de43 000000006c8d69ef000000007ac4de43
Output for 5.6.11
000000003da1e7ec0000000021be822c 000000003da1e7ef0000000021be822c 000000003da1e7ee0000000021be822c
Output for 5.6.10
000000001088aa1700000000551d2fa2 000000001088aa1400000000551d2fa2 000000001088aa1500000000551d2fa2
Output for 5.6.9
00000000696fcfbd000000005ab53b14 00000000696fcfbe000000005ab53b14 00000000696fcfbf000000005ab53b14
Output for 5.6.8
0000000070f4748a00000000118d6b2a 0000000070f4748900000000118d6b2a 0000000070f4748800000000118d6b2a
Output for 5.6.7
000000003f77db0000000000424d68c3 000000003f77db0300000000424d68c3 000000003f77db0200000000424d68c3
Output for 5.6.6
0000000058d69f38000000000c53b475 0000000058d69f3b000000000c53b475 0000000058d69f3a000000000c53b475
Output for 5.6.5
00000000641e1e17000000006b2df603 00000000641e1e14000000006b2df603 00000000641e1e15000000006b2df603
Output for 5.6.4
000000002ad8d7170000000036bfdb4e 000000002ad8d7140000000036bfdb4e 000000002ad8d7150000000036bfdb4e
Output for 5.6.3
000000001ec9e0aa000000001663ecf2 000000001ec9e0a9000000001663ecf2 000000001ec9e0a8000000001663ecf2
Output for 5.6.2
00000000148760a5000000005f2063dd 00000000148760a6000000005f2063dd 00000000148760a7000000005f2063dd
Output for 5.6.1
0000000052fbc5fd000000004d658524 0000000052fbc5fe000000004d658524 0000000052fbc5ff000000004d658524
Output for 5.6.0
00000000571fc680000000000375fa92 00000000571fc683000000000375fa92 00000000571fc682000000000375fa92