3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $object = new stdClass; $id = spl_object_hash($object); $storage[$id] = $object; var_dump($storage); ?>
Output for 7.1.0
array(1) { ["0000000056ff6307000000003a0479a4"]=> object(stdClass)#1 (0) { } }
Output for 7.0.14
array(1) { ["000000007a2db272000000001e9ac6bd"]=> object(stdClass)#1 (0) { } }
Output for 7.0.12
array(1) { ["000000000d6f2f3d000000007b3b1868"]=> object(stdClass)#1 (0) { } }
Output for 7.0.6
array(1) { ["000000006eaa9d7700000000663a6de4"]=> object(stdClass)#1 (0) { } }
Output for 7.0.5
array(1) { ["000000001a10dcc00000000013efb3f0"]=> object(stdClass)#1 (0) { } }
Output for 7.0.4
array(1) { ["000000003aa5409c00000000625eea8f"]=> object(stdClass)#1 (0) { } }
Output for 7.0.3
array(1) { ["0000000033a1863f000000001f85b1d1"]=> object(stdClass)#1 (0) { } }
Output for 7.0.2
array(1) { ["000000003a0546ef000000003a0234e4"]=> object(stdClass)#1 (0) { } }
Output for 7.0.1
array(1) { ["000000001d21fc5b00000000499048f5"]=> object(stdClass)#1 (0) { } }
Output for 7.0.0
array(1) { ["000000005676b26600000000328ffb6b"]=> object(stdClass)#1 (0) { } }
Output for hhvm-3.12.0
array(1) { ["00000000000000005f89f0c327bf1115"]=> object(stdClass)#1 (0) { } }
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
array(1) { ["000000006b4d0783000000005c13239a"]=> object(stdClass)#1 (0) { } }
Output for 5.6.21
array(1) { ["0000000039247665000000007b4d3625"]=> object(stdClass)#1 (0) { } }
Output for 5.6.20
array(1) { ["000000002c54062d0000000006a1d1f1"]=> object(stdClass)#1 (0) { } }
Output for 5.6.19
array(1) { ["000000004127aa06000000005fe563d2"]=> object(stdClass)#1 (0) { } }
Output for 5.6.18
array(1) { ["000000002692df52000000007855aafe"]=> object(stdClass)#1 (0) { } }
Output for 5.6.17
array(1) { ["0000000001385bc3000000004ba0237d"]=> object(stdClass)#1 (0) { } }
Output for 5.6.16
array(1) { ["0000000022fdc929000000007dfea6ec"]=> object(stdClass)#1 (0) { } }
Output for 5.6.15
array(1) { ["000000007499c9b0000000004e1e40ac"]=> object(stdClass)#1 (0) { } }
Output for 5.6.14
array(1) { ["000000006761ee5c000000007f8d94ba"]=> object(stdClass)#1 (0) { } }
Output for 5.6.13
array(1) { ["000000007563efa60000000011885ca6"]=> object(stdClass)#1 (0) { } }
Output for 5.6.12
array(1) { ["000000007a68e4e5000000003e906f9b"]=> object(stdClass)#1 (0) { } }
Output for 5.6.11
array(1) { ["000000000911e103000000001c06ccaa"]=> object(stdClass)#1 (0) { } }
Output for 5.6.10
array(1) { ["00000000500010ea0000000026a600da"]=> object(stdClass)#1 (0) { } }
Output for 5.6.9
array(1) { ["0000000032a7e63f00000000094325b2"]=> object(stdClass)#1 (0) { } }
Output for 5.6.8
array(1) { ["000000000918b4c3000000004da583d9"]=> object(stdClass)#1 (0) { } }
Output for 5.6.7
array(1) { ["000000007c1241a000000000238e2188"]=> object(stdClass)#1 (0) { } }
Output for 5.5.35
array(1) { ["00000000342b51630000000009dd9059"]=> object(stdClass)#1 (0) { } }
Output for 5.5.34
array(1) { ["000000000bb8f163000000006064d350"]=> object(stdClass)#1 (0) { } }
Output for 5.5.33
array(1) { ["000000000a0cc828000000002eacbd00"]=> object(stdClass)#1 (0) { } }
Output for 5.5.32
array(1) { ["000000003ad407da0000000016e48be3"]=> object(stdClass)#1 (0) { } }
Output for 5.5.31
array(1) { ["0000000055a2c45b0000000068ca78f8"]=> object(stdClass)#1 (0) { } }
Output for 5.5.30
array(1) { ["000000005c0ac29a000000007192e884"]=> object(stdClass)#1 (0) { } }
Output for 5.5.29
array(1) { ["00000000615116390000000008ab2cb9"]=> object(stdClass)#1 (0) { } }
Output for 5.5.28
array(1) { ["000000004bd327ea00000000125add69"]=> object(stdClass)#1 (0) { } }
Output for 5.5.27
array(1) { ["00000000798f533100000000087383c8"]=> object(stdClass)#1 (0) { } }
Output for 5.5.26
array(1) { ["000000006f649b4b0000000016d3e19b"]=> object(stdClass)#1 (0) { } }
Output for 5.5.25
array(1) { ["0000000034bc2204000000001b1bfcfd"]=> object(stdClass)#1 (0) { } }
Output for 5.5.24
array(1) { ["0000000043ee5320000000001f3ee4f7"]=> object(stdClass)#1 (0) { } }
Output for 5.4.45
array(1) { ["00000000244c2f1f00000000300ef7e7"]=> object(stdClass)#1 (0) { } }
Output for 5.4.44
array(1) { ["000000000ca9c3dc0000000032f1df89"]=> object(stdClass)#1 (0) { } }
Output for 5.4.43
array(1) { ["00000000571f5adb0000000069b96e98"]=> object(stdClass)#1 (0) { } }
Output for 5.4.42
array(1) { ["000000000e61c08a000000002f46b261"]=> object(stdClass)#1 (0) { } }
Output for 5.4.41
array(1) { ["0000000041e0c2e000000000292f1618"]=> object(stdClass)#1 (0) { } }
Output for 5.4.40
array(1) { ["0000000030b6c9ec000000002e05df29"]=> object(stdClass)#1 (0) { } }
Output for 5.4.39
array(1) { ["000000003fcb74d800000000157592d6"]=> object(stdClass)#1 (0) { } }
Output for 5.4.38
array(1) { ["0000000040cdd028000000007bc6e72e"]=> object(stdClass)#1 (0) { } }
Output for 5.4.37
array(1) { ["0000000059d10b870000000005706e1e"]=> object(stdClass)#1 (0) { } }
Output for 5.4.36
array(1) { ["000000005b62dbe60000000066830a84"]=> object(stdClass)#1 (0) { } }
Output for 5.4.35
array(1) { ["0000000078534cd6000000000ed651af"]=> object(stdClass)#1 (0) { } }
Output for 5.4.34
array(1) { ["000000005fa56df80000000044f993ac"]=> object(stdClass)#1 (0) { } }
Output for 5.4.32
array(1) { ["0000000044f0bfce0000000042ac3600"]=> object(stdClass)#1 (0) { } }
Output for 5.4.31
array(1) { ["00000000759aaf5a000000003d3913e0"]=> object(stdClass)#1 (0) { } }
Output for 5.4.30
array(1) { ["0000000008b3b943000000002074d6a8"]=> object(stdClass)#1 (0) { } }
Output for 5.4.29
array(1) { ["000000004373f42a00000000239b77e8"]=> object(stdClass)#1 (0) { } }
Output for 5.4.28
array(1) { ["000000004da81c91000000001e87a6f0"]=> object(stdClass)#1 (0) { } }
Output for 5.4.27
array(1) { ["000000003924f255000000000f7641e0"]=> object(stdClass)#1 (0) { } }
Output for 5.4.26
array(1) { ["0000000008909c35000000001ded5367"]=> object(stdClass)#1 (0) { } }
Output for 5.4.25
array(1) { ["000000007835a92c000000005a035bac"]=> object(stdClass)#1 (0) { } }
Output for 5.4.24
array(1) { ["000000001fb563f50000000030cc14c7"]=> object(stdClass)#1 (0) { } }
Output for 5.4.23
array(1) { ["00000000004b710b0000000028dad209"]=> object(stdClass)#1 (0) { } }
Output for 5.4.22
array(1) { ["0000000070262d9f00000000027a340a"]=> object(stdClass)#1 (0) { } }
Output for 5.4.21
array(1) { ["00000000335143ba0000000073d5ef20"]=> object(stdClass)#1 (0) { } }
Output for 5.4.20
array(1) { ["000000006267dc320000000030ee2b37"]=> object(stdClass)#1 (0) { } }
Output for 5.4.19
array(1) { ["000000004855dbf9000000003992beeb"]=> object(stdClass)#1 (0) { } }
Output for 5.4.18
array(1) { ["0000000062b6654c000000006012c52e"]=> object(stdClass)#1 (0) { } }
Output for 5.4.17
array(1) { ["0000000055dd310400000000738f1112"]=> object(stdClass)#1 (0) { } }
Output for 5.4.16
array(1) { ["000000003488a81b000000000cd893c4"]=> object(stdClass)#1 (0) { } }
Output for 5.4.15
array(1) { ["0000000014dc0175000000003323de15"]=> object(stdClass)#1 (0) { } }
Output for 5.4.14
array(1) { ["00000000161b5ea2000000007afa02ec"]=> object(stdClass)#1 (0) { } }
Output for 5.4.13
array(1) { ["000000001e892d2900000000162dee3d"]=> object(stdClass)#1 (0) { } }
Output for 5.4.12
array(1) { ["000000002369e22d000000001bf6e7c4"]=> object(stdClass)#1 (0) { } }
Output for 5.4.11
array(1) { ["00000000612b1239000000007bbeb8df"]=> object(stdClass)#1 (0) { } }
Output for 5.4.10
array(1) { ["000000006e7376c7000000007b7cc65c"]=> object(stdClass)#1 (0) { } }
Output for 5.4.9
array(1) { ["000000003b68729e00000000295a4f8b"]=> object(stdClass)#1 (0) { } }
Output for 5.4.8
array(1) { ["000000006fa7aa8c0000000018561cc7"]=> object(stdClass)#1 (0) { } }
Output for 5.4.7
array(1) { ["000000003545bfca00000000634886bd"]=> object(stdClass)#1 (0) { } }
Output for 5.4.6
array(1) { ["000000004d90a17b0000000014146b54"]=> object(stdClass)#1 (0) { } }
Output for 5.4.5
array(1) { ["0000000073694fa4000000004f3a64d8"]=> object(stdClass)#1 (0) { } }
Output for 5.4.4
array(1) { ["00000000100e023f000000003de32efa"]=> object(stdClass)#1 (0) { } }
Output for 5.4.3
array(1) { ["000000006ffd949d000000007d6b959f"]=> object(stdClass)#1 (0) { } }
Output for 5.4.2
array(1) { ["000000004bcfc005000000000689b5e3"]=> object(stdClass)#1 (0) { } }
Output for 5.4.1
array(1) { ["0000000017b79cc30000000064cb8b0a"]=> object(stdClass)#1 (0) { } }
Output for 5.4.0
array(1) { ["000000002d11f8150000000017922953"]=> object(stdClass)#1 (0) { } }
Output for 5.3.29
array(1) { ["000000004b0eaa2f0000000063789221"]=> object(stdClass)#1 (0) { } }
Output for 5.3.28
array(1) { ["000000000d2fe67100000000295ccd46"]=> object(stdClass)#1 (0) { } }
Output for 5.3.27
array(1) { ["000000002b4b7ef2000000006bfbe445"]=> object(stdClass)#1 (0) { } }
Output for 5.3.26
array(1) { ["000000003275e46b0000000079a8a929"]=> object(stdClass)#1 (0) { } }
Output for 5.3.25
array(1) { ["000000004ca47f73000000003cb7f3b2"]=> object(stdClass)#1 (0) { } }
Output for 5.3.24
array(1) { ["000000007ebb8587000000001b4e3733"]=> object(stdClass)#1 (0) { } }
Output for 5.3.23
array(1) { ["00000000639adbac0000000003029ab6"]=> object(stdClass)#1 (0) { } }
Output for 5.3.22
array(1) { ["0000000077332e8e000000001f8a4c81"]=> object(stdClass)#1 (0) { } }
Output for 5.3.21
array(1) { ["000000006994dda0000000007286a2bf"]=> object(stdClass)#1 (0) { } }
Output for 5.3.20
array(1) { ["000000004945fc730000000037845f95"]=> object(stdClass)#1 (0) { } }
Output for 5.3.19
array(1) { ["000000000ca8db880000000079762f90"]=> object(stdClass)#1 (0) { } }
Output for 5.3.18
array(1) { ["0000000040d4ded90000000027dcfb00"]=> object(stdClass)#1 (0) { } }
Output for 5.3.17
array(1) { ["00000000320f4277000000002caed0ba"]=> object(stdClass)#1 (0) { } }
Output for 5.3.16
array(1) { ["000000007a8c5d470000000054218f24"]=> object(stdClass)#1 (0) { } }
Output for 5.3.15
array(1) { ["000000003d5fc3b00000000056b539ea"]=> object(stdClass)#1 (0) { } }
Output for 5.3.14
array(1) { ["000000005f238707000000003e527c51"]=> object(stdClass)#1 (0) { } }
Output for 5.3.13
array(1) { ["000000000a8303ad0000000062e71d43"]=> object(stdClass)#1 (0) { } }
Output for 5.3.12
array(1) { ["000000005350f085000000002cb566f9"]=> object(stdClass)#1 (0) { } }
Output for 5.3.11
array(1) { ["000000006a5c8c94000000006e6705ea"]=> object(stdClass)#1 (0) { } }
Output for 5.3.10
array(1) { ["0000000054400cb7000000006a0d556f"]=> object(stdClass)#1 (0) { } }
Output for 5.3.9
array(1) { ["000000001bc1177e000000003fa72c28"]=> object(stdClass)#1 (0) { } }
Output for 5.3.8
array(1) { ["0000000027ac8ef70000000065c9923e"]=> object(stdClass)#1 (0) { } }
Output for 5.3.7
array(1) { ["0000000038efac6f0000000061dc9ddc"]=> object(stdClass)#1 (0) { } }
Output for 5.3.6
array(1) { ["00000000553ca76d0000000026c53ef5"]=> object(stdClass)#1 (0) { } }
Output for 5.3.5
array(1) { ["0000000010e544e3000000004c57770e"]=> object(stdClass)#1 (0) { } }
Output for 5.3.4
array(1) { ["0000000026e01f3e000000007a1453d0"]=> object(stdClass)#1 (0) { } }
Output for 5.3.3
array(1) { ["00000000040646f0000000000377f14f"]=> object(stdClass)#1 (0) { } }
Output for 5.3.2
array(1) { ["0000000045c6eeb90000000059837b9b"]=> object(stdClass)#1 (0) { } }
Output for 5.3.1
array(1) { ["0000000004ee93300000000078364cfe"]=> object(stdClass)#1 (0) { } }
Output for 5.3.0
array(1) { ["00000000762b14050000000008b54233"]=> object(stdClass)#1 (0) { } }
Output for 5.2.17
array(1) { ["861a2f056a593edc2697eec710327754"]=> object(stdClass)#1 (0) { } }
Output for 5.2.15 - 5.2.16
array(1) { ["bab3da487bfe51e3bada7ed6962c83d7"]=> object(stdClass)#1 (0) { } }
Output for 5.2.14
array(1) { ["6827d7150a80a95428b05b2dbc0dcb10"]=> object(stdClass)#1 (0) { } }
Output for 5.2.13
array(1) { ["4d9da188dd696504eef8aed3fde97e02"]=> object(stdClass)#1 (0) { } }
Output for 5.2.12
array(1) { ["617357606fc417e758728410d8dad7f3"]=> object(stdClass)#1 (0) { } }
Output for 5.2.9, 5.2.11
array(1) { ["52ee78937c6a89104904aed13987318e"]=> object(stdClass)#1 (0) { } }
Output for 5.2.10
array(1) { ["efe88f76f26081279f31ba49d381104e"]=> object(stdClass)#1 (0) { } }
Output for 5.2.7 - 5.2.8
array(1) { ["af89ab9ae8be1068e0d8dc48e55bfcd1"]=> object(stdClass)#1 (0) { } }
Output for 5.2.6
array(1) { ["950969556ed71c6f363f434ecae32954"]=> object(stdClass)#1 (0) { } }
Output for 5.2.5
array(1) { ["a7965ec2cba63ba225597f43def8a4b6"]=> object(stdClass)#1 (0) { } }
Output for 5.2.4
array(1) { ["7ebbed9ad06ebcbd0c3782f6cdf89b51"]=> object(stdClass)#1 (0) { } }
Output for 5.2.3
array(1) { ["dc90896f8dce368265954f0524e2a853"]=> object(stdClass)#1 (0) { } }
Output for 5.2.2
array(1) { ["d1877c094161b942518f0f010b1a5be5"]=> object(stdClass)#1 (0) { } }
Output for 5.2.1
array(1) { ["5663e593b52467eb39485ab4532cfb71"]=> object(stdClass)#1 (0) { } }
Output for 5.2.0
array(1) { ["73f03f2749114a53db076b2f4bc47285"]=> object(stdClass)#1 (0) { } }
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function spl_object_hash() in /in/a1MZO on line 7
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: spl_object_hash() in /in/a1MZO on line 7
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: spl_object_hash() in /in/a1MZO on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: spl_object_hash() in /in/a1MZO on line 7