3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Pas bon $data = 'Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0'; //$data = "hello"; foreach (hash_algos() as $v) { $r = hash($v, $data, false); printf("%-12s %3d %s\n", $v, strlen($r), $r); }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.5.10.0110.00816.89
8.5.00.0130.01019.91
8.4.160.0100.01123.85
8.4.150.0020.00014.05
8.4.140.0110.01017.52
8.4.130.0120.00918.89
8.4.120.0130.00918.55
8.4.110.0090.00318.80
8.4.100.0120.00917.77
8.4.90.0100.01020.77
8.4.80.0070.00120.67
8.4.70.0120.01019.08
8.4.60.0050.00320.50
8.4.50.0050.00420.36
8.4.40.0100.01017.51
8.4.30.0070.01318.57
8.4.20.0070.01321.32
8.4.10.0120.01019.41
8.3.290.0110.01120.82
8.3.280.0090.01118.29
8.3.270.0160.00616.85
8.3.260.0170.00416.79
8.3.250.0130.00616.74
8.3.240.0070.00218.74
8.3.230.0110.00816.68
8.3.220.0120.00718.96
8.3.210.0110.00916.57
8.3.200.0080.00116.53
8.3.190.0110.00917.38
8.3.180.0170.00419.00
8.3.170.0030.01617.10
8.3.160.0180.00020.99
8.3.150.0060.01317.29
8.3.140.0130.00616.58
8.3.130.0070.01116.76
8.3.50.0160.00316.63
8.2.300.0130.00818.03
8.2.290.0070.00317.21
8.2.280.0150.00416.66
8.2.270.0090.00916.80
8.2.260.0140.00416.54
8.2.250.0100.01016.43
8.1.340.0150.00617.45
8.1.320.0140.00616.20
5.6.240.0160.00815.68

preferences:
31.92 ms | 403 KiB | 5 Q