3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = "test_mit_schÄnen_Ä_strand"; $search = ['Ä', 'Ö', 'Ü', 'ä', 'ö', 'ü', 'ß']; $replace = ['Ae', 'Oe', 'Ue', 'ae', 'oe', 'ue', 'ss']; $result = str_replace($search, $replace, $value); var_dump($result);

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.00.0260.00718.30
8.4.150.0400.01421.16
8.4.140.0360.00917.32
8.4.130.0390.01117.27
8.4.120.0500.00917.48
8.4.110.0440.00817.52
8.4.100.0380.00917.63
8.4.90.0440.01017.56
8.4.80.0320.01417.64
8.4.70.0380.01017.55
8.4.60.0390.01317.60
8.4.50.0360.01017.50
8.4.40.0470.00917.47
8.4.30.0390.01019.29
8.4.20.0440.00717.43
8.4.10.0430.00717.25
8.3.280.0190.01218.18
8.3.270.0430.00716.43
8.3.260.0340.00416.61
8.3.250.0310.01216.53
8.3.240.0350.00816.55
8.3.230.0430.00916.34
8.3.220.0410.00616.56
8.3.210.0400.00816.33
8.3.200.0410.00716.21
8.3.190.0410.00816.29
8.3.180.0410.00916.43
8.3.170.0390.01316.58
8.3.160.0460.00616.59
8.3.150.0360.01016.55
8.3.140.0390.00616.45
8.3.130.0340.00616.64
8.3.120.0300.01116.34
8.3.110.0360.00716.18
8.3.100.0410.00516.48
8.3.90.0380.01116.37
8.3.80.0390.00716.53
8.3.70.0320.01416.46
8.3.60.0340.01016.38
8.3.50.0410.00716.39
8.3.40.0270.01217.77
8.3.30.0340.00317.62
8.3.20.0330.00717.49
8.3.10.0230.01217.53
8.3.00.0210.00317.69
8.2.290.0130.00416.52
8.2.280.0330.00616.74
8.2.270.0340.00616.61
8.2.260.0310.00716.59
8.2.250.0280.00916.38
8.2.240.0300.00816.14
8.2.230.0330.00816.25
8.2.220.0300.01116.52
8.2.210.0350.00816.39
8.2.200.0270.01118.00
8.2.190.0310.00716.16
8.2.180.0300.00716.38
8.2.170.0260.00717.76
8.2.160.0220.00617.76
8.2.150.0250.00817.71
8.2.140.0290.00717.68
8.2.130.0320.00617.77
8.2.120.0310.00617.71
8.2.110.0300.00717.83
8.2.100.0300.00917.71
8.2.90.0320.00717.73
8.2.80.0290.00717.58
8.2.70.0280.00717.77
8.2.60.0310.00617.67
8.2.50.0280.00717.84
8.2.40.0280.00817.70
8.2.30.0320.00417.73
8.2.20.0270.00917.73
8.2.10.0330.00717.70
8.2.00.0370.00317.81

preferences:
29.75 ms | 403 KiB | 5 Q