3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = "the quick brown fox jumped over the lazy dog 12345"; var_dump( array_map( function($a) { return [ $a, bin2hex(base64_decode($a)), $r = trim(base64_encode(base64_decode($a)), '='), $a == $r ]; }, explode(' ', $input) ) );

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.4.120.0110.00920.32
8.4.110.0050.00420.88
8.4.100.0130.00817.57
8.4.90.0090.01117.42
8.4.80.0100.00922.70
8.4.70.0140.00819.48
8.4.60.0130.00718.65
8.4.50.0110.01020.07
8.4.40.0090.01217.89
8.4.30.0030.00620.82
8.4.20.0270.00317.66
8.4.10.0080.01319.34
8.3.250.0110.00821.17
8.3.240.0130.00816.58
8.3.230.0110.00916.43
8.3.220.0100.00917.24
8.3.210.0090.01016.75
8.3.200.0130.00716.77
8.3.190.0060.00217.26
8.3.180.0090.01018.87
8.3.170.0030.01517.21
8.3.160.0030.00618.27
8.3.150.0160.00316.17
8.3.140.0170.00316.27
8.3.130.0090.00916.55
8.3.120.0190.00016.42
8.3.110.0140.00416.59
8.3.100.0160.00316.51
8.3.90.0160.00516.77
8.3.80.0120.00916.23
8.3.70.0140.00616.43
8.3.60.0200.00016.46
8.3.50.0170.00316.42
8.3.40.0130.00417.30
8.3.30.0100.00717.36
8.3.20.0160.00016.99
8.3.10.0170.00017.27
8.3.00.0110.00017.42
8.2.290.0130.00520.62
8.2.280.0140.00718.56
8.2.270.0120.00516.32
8.2.260.0110.00716.31
8.2.250.0100.00716.50
8.2.240.0150.00416.39
8.2.230.0130.00416.52
8.2.220.0110.00716.22
8.2.210.0170.00016.26
8.2.200.0120.00816.43
8.2.190.0130.00416.47
8.2.180.0140.00216.34
8.2.170.0110.01117.56
8.2.160.0180.00017.62
8.2.150.0170.00317.50
8.2.140.0150.00417.31
8.2.130.0140.00517.32
8.2.120.0200.00017.37
8.2.110.0150.00417.34
8.2.100.0110.00517.53
8.2.90.0190.00017.61
8.2.80.0240.00517.09
8.2.70.0150.00417.29
8.2.60.0070.01217.27
8.2.50.0160.00017.17
8.2.40.0160.00017.14
8.2.30.0160.00017.32
8.2.20.0060.01217.39
8.2.10.0130.00217.36
8.2.00.0160.00017.43
8.1.320.0140.00215.98

preferences:
26.25 ms | 403 KiB | 5 Q