3v4l.org

run code in 300+ PHP versions simultaneously
<?php $uniqid_with_more_entropy = uniqid('', true); $uniqid_13x = substr($uniqid_with_more_entropy, 0, 13); $more_entropy = substr($string, 13); $more_entropy = str_replace('.', '', $more_entropy); echo dechex(mt_rand(0, 0xFFF)) . dechex(mt_rand(0, 0xFFFFFFFF)) . $uniqid_13x . dechex((int)((string)mt_rand(0, 4) . $more_entropy));
Output for 7.4.0
Notice: Undefined variable: string in /in/Dt4aU on line 5 752ef49fdb6565eee65000b11
Output for 7.3.12
Notice: Undefined variable: string in /in/Dt4aU on line 5 5e07ebdb972565eee65000d02
Output for 7.3.11
Notice: Undefined variable: string in /in/Dt4aU on line 5 b6c259a68ae565eee65000aa3
Output for 7.3.10
Notice: Undefined variable: string in /in/Dt4aU on line 5 7482caf1389565eee65000812
Output for 7.3.9
Notice: Undefined variable: string in /in/Dt4aU on line 5 d4acb87ac9d565eee65000f02
Output for 7.3.8
Notice: Undefined variable: string in /in/Dt4aU on line 5 a378bec1ef2565eee65000962
Output for 7.3.7
Notice: Undefined variable: string in /in/Dt4aU on line 5 92443cdc94b565eee65000940
Output for 7.3.6
Notice: Undefined variable: string in /in/Dt4aU on line 5 ba7d820ed62565eee65000a00
Output for 7.3.5
Notice: Undefined variable: string in /in/Dt4aU on line 5 e77dffb4631565eee65000953
Output for 7.3.4
Notice: Undefined variable: string in /in/Dt4aU on line 5 70fb2c4874d565eee65000c72
Output for 7.3.3
Notice: Undefined variable: string in /in/Dt4aU on line 5 7a1daa0b05b565eee65000ca1
Output for 7.3.2
Notice: Undefined variable: string in /in/Dt4aU on line 5 21ddb9cb050565eee65000603
Output for 7.3.1
Notice: Undefined variable: string in /in/Dt4aU on line 5 e302742aeb6565eee65000882
Output for 7.3.0
Notice: Undefined variable: string in /in/Dt4aU on line 5 2d6ad53f11f565eee65000780
Output for 7.2.25
Notice: Undefined variable: string in /in/Dt4aU on line 5 f51883a5eff565eee65000d11
Output for 7.2.24
Notice: Undefined variable: string in /in/Dt4aU on line 5 91d9e9825c8565eee65000a13
Output for 7.2.23
Notice: Undefined variable: string in /in/Dt4aU on line 5 635a781a38e565eee650011a3
Output for 7.2.22
Notice: Undefined variable: string in /in/Dt4aU on line 5 b49dd66a447565eee65000e91
Output for 7.2.21
Notice: Undefined variable: string in /in/Dt4aU on line 5 df51c095016565eee650008c1
Output for 7.2.20
Notice: Undefined variable: string in /in/Dt4aU on line 5 f2d8981c44f565eee65000cf2
Output for 7.2.19
Notice: Undefined variable: string in /in/Dt4aU on line 5 d0993bc13c9565eee65001041
Output for 7.2.18
Notice: Undefined variable: string in /in/Dt4aU on line 5 9de374d47a8565eee65000e44
Output for 7.2.17
Notice: Undefined variable: string in /in/Dt4aU on line 5 a1fb2dbf048565eee65000951
Output for 7.2.0
Notice: Undefined variable: string in /in/Dt4aU on line 5 1db1b5edeb2565eee65015bd2
Output for 7.1.33
Notice: Undefined variable: string in /in/Dt4aU on line 5 536af798894565eee65000720
Output for 7.1.32
Notice: Undefined variable: string in /in/Dt4aU on line 5 d64325d5c34565eee65000a72
Output for 7.1.31
Notice: Undefined variable: string in /in/Dt4aU on line 5 6719812a38d565eee65000ae4
Output for 7.1.30
Notice: Undefined variable: string in /in/Dt4aU on line 5 67921afac26565eee650008f2
Output for 7.1.29
Notice: Undefined variable: string in /in/Dt4aU on line 5 16810cd256b565eee65000761
Output for 7.1.28
Notice: Undefined variable: string in /in/Dt4aU on line 5 6a4f9329f93565eee65000811
Output for 7.1.27
Notice: Undefined variable: string in /in/Dt4aU on line 5 d938d952f75565eee65000693
Output for 7.1.26
Notice: Undefined variable: string in /in/Dt4aU on line 5 809a49a4761565eee65000680
Output for 7.1.7
Notice: Undefined variable: string in /in/Dt4aU on line 5 28f2d2c6b00565eee6500be54
Output for 7.1.6
Notice: Undefined variable: string in /in/Dt4aU on line 5 5a3b45a4967565eee65030d30
Output for 7.1.5
Notice: Undefined variable: string in /in/Dt4aU on line 5 e81cf90e18c565eee65029002
Output for 7.1.0
Notice: Undefined variable: string in /in/Dt4aU on line 5 99fdff54a6a565eee6500f1d1
Output for 7.0.20
Notice: Undefined variable: string in /in/Dt4aU on line 5 3f1ac49cb0c565eee6500b602
Output for 7.0.6
Notice: Undefined variable: string in /in/Dt4aU on line 5 d6b7baffeba5728e6207bf0b2
Output for 7.0.5
Notice: Undefined variable: string in /in/Dt4aU on line 5 d5267d513e5700b4f108c6d1
Output for 7.0.4
Notice: Undefined variable: string in /in/Dt4aU on line 5 28e41e8edca56e1c68c0e9201
Output for 7.0.3
Notice: Undefined variable: string in /in/Dt4aU on line 5 1e3d69104c256ec65a4101c30
Output for 7.0.2
Notice: Undefined variable: string in /in/Dt4aU on line 5 d67f35ad08e56f2034b0fe824
Output for 7.0.1
Notice: Undefined variable: string in /in/Dt4aU on line 5 dbbdd0ff47056f382ca0dd4e4
Output for 7.0.0
Notice: Undefined variable: string in /in/Dt4aU on line 5 4a17d65243056f78409c41cf2
Output for 5.6.28
Notice: Undefined variable: string in /in/Dt4aU on line 5 183ba0435c8565eee65011512
Output for 5.6.21
Notice: Undefined variable: string in /in/Dt4aU on line 5 d0dc96e2054572750434c3a63
Output for 5.6.20
Notice: Undefined variable: string in /in/Dt4aU on line 5 d04e5315f885709e1b2b05452
Output for 5.6.19
Notice: Undefined variable: string in /in/Dt4aU on line 5 602b81257456de4597bd3f03
Output for 5.6.18
Notice: Undefined variable: string in /in/Dt4aU on line 5 67c1adc92a456e7fc455de370
Output for 5.6.17
Notice: Undefined variable: string in /in/Dt4aU on line 5 6c9bbf5dbb456ede533e58571
Output for 5.6.16
Notice: Undefined variable: string in /in/Dt4aU on line 5 ca1ce87070e56f8e10983a7a2
Output for 5.6.15
Notice: Undefined variable: string in /in/Dt4aU on line 5 88681f999a456fa3e2b1b08c0
Output for 5.6.14
Notice: Undefined variable: string in /in/Dt4aU on line 5 418156c533456ff9dec7c8364
Output for 5.6.13
Notice: Undefined variable: string in /in/Dt4aU on line 5 7e4126a669c5711010871f810
Output for 5.6.12
Notice: Undefined variable: string in /in/Dt4aU on line 5 d3a4eb1546457171242b9a0d0
Output for 5.6.11
Notice: Undefined variable: string in /in/Dt4aU on line 5 2259d354ec571cb273e48d41
Output for 5.6.10
Notice: Undefined variable: string in /in/Dt4aU on line 5 28474b3ab6571e20f51a6f92
Output for 5.6.9
Notice: Undefined variable: string in /in/Dt4aU on line 5 9776ca7fa0a57210c3b8693a4
Output for 5.6.8
Notice: Undefined variable: string in /in/Dt4aU on line 5 a48a1dea08057242b9d3935e4
Output for 5.5.35
Notice: Undefined variable: string in /in/Dt4aU on line 5 8e829c2885e57422cd94ba523
Output for 5.5.34
Notice: Undefined variable: string in /in/Dt4aU on line 5 7be3d6f9cd8570b51fa529ae3
Output for 5.5.33
Notice: Undefined variable: string in /in/Dt4aU on line 5 f2699b38c4e56dfbf95ba0001
Output for 5.5.32
Notice: Undefined variable: string in /in/Dt4aU on line 5 1bc85d7944a56ead5f44b66c0
Output for 5.5.31
Notice: Undefined variable: string in /in/Dt4aU on line 5 2671a0a3b856ef62323b9913
Output for 5.5.30
Notice: Undefined variable: string in /in/Dt4aU on line 5 f9d5c1a1a6456fe4d184c1161
Output for 5.5.29
Notice: Undefined variable: string in /in/Dt4aU on line 5 a19d712e50657131ba808f790
Output for 5.5.28
Notice: Undefined variable: string in /in/Dt4aU on line 5 cba25c8682a571891a5d2b350
Output for 5.5.27
Notice: Undefined variable: string in /in/Dt4aU on line 5 a83f2fe2f9c5719fb448753a4
Output for 5.5.26
Notice: Undefined variable: string in /in/Dt4aU on line 5 cc2c4204540571f980d1be842
Output for 5.5.25
Notice: Undefined variable: string in /in/Dt4aU on line 5 689b365ad485722a3047638f3
Output for 5.5.24
Notice: Undefined variable: string in /in/Dt4aU on line 5 9d226b8e625743ef82cfc703

preferences:
76.74 ms | 401 KiB | 76 Q