3v4l.org

run code in 300+ PHP versions simultaneously
<?php $split_point = ' - '; $string = 'this is my - string - and more'; var_export( array_map('strrev', explode($split_point, strrev($string))) );

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.0090.01219.77
8.4.150.0020.00014.05
8.4.140.0120.00917.48
8.4.130.0120.00817.50
8.4.120.0040.00420.64
8.4.110.0130.00720.40
8.4.100.0100.00820.68
8.4.90.0120.00720.58
8.4.80.0060.00220.27
8.4.70.0060.00319.27
8.4.60.0120.00817.73
8.4.50.0110.00818.44
8.4.40.0130.00717.58
8.4.30.0030.01518.82
8.4.20.0130.00321.30
8.4.10.0060.00319.09
8.3.280.0150.00818.22
8.3.270.0140.00716.47
8.3.260.0100.01016.64
8.3.250.0120.00718.84
8.3.240.0090.01016.68
8.3.230.0120.00816.41
8.3.220.0110.00719.05
8.3.210.0120.00616.49
8.3.200.0120.00716.73
8.3.190.0110.00917.22
8.3.180.0100.00816.50
8.3.170.0040.01418.87
8.3.160.0110.00717.31
8.3.150.0060.01217.23
8.3.140.0090.00016.88
8.3.130.0060.00918.32
8.3.120.0030.00618.90
8.3.110.0070.00320.94
8.3.100.0000.01624.06
8.3.90.0040.00426.77
8.3.80.0030.00618.13
8.3.70.0430.01117.97
8.3.60.0490.00417.97
8.3.50.0060.01617.97
8.3.40.0310.00817.97
8.3.30.0210.00417.97
8.3.20.0210.00317.97
8.3.10.0130.01317.97
8.3.00.0140.01117.97
8.2.290.0030.00620.43
8.2.280.0110.00816.59
8.2.270.0110.00716.98
8.2.260.0040.00718.16
8.2.250.0050.00316.70
8.2.240.0100.00016.92
8.2.230.0000.00822.58
8.2.220.0070.00337.54
8.2.210.0180.00326.77
8.2.200.0060.00318.29
8.2.190.0190.00717.97
8.2.180.0210.00417.97
8.2.170.0180.01117.97
8.2.160.0350.00017.97
8.2.150.0190.01317.97
8.2.140.0230.00817.97
8.2.130.0210.00617.97
8.2.120.0220.00617.97
8.2.110.0230.00517.97
8.2.100.0200.01217.97
8.2.90.0210.00317.97
8.2.80.0220.00017.97
8.2.70.0240.00017.97
8.2.60.0120.01217.97
8.2.50.0150.00717.97
8.2.40.0130.00717.97
8.2.30.0210.00017.97
8.2.20.0210.00017.97
8.2.10.0250.00017.97
8.2.00.0290.00317.97
8.1.330.0080.01121.82
8.1.320.0090.01017.81
8.1.310.0140.00416.60
8.1.300.0040.00418.38
8.1.290.0030.00630.84
8.1.280.0360.00617.97
8.1.270.0440.00017.97
8.1.260.0310.00717.97
8.1.250.0290.00317.97
8.1.240.0200.00817.97
8.1.230.0180.00417.97
8.1.220.0130.00817.97
8.1.210.0230.00017.97
8.1.200.0160.00817.97
8.1.190.0230.00417.97
8.1.180.0250.00017.97
8.1.170.0120.00717.97
8.1.160.0140.00517.97
8.1.150.0190.00317.97
8.1.140.0150.00717.97
8.1.130.0180.00617.97
8.1.120.0220.00017.97
8.1.110.0210.00317.97
8.1.100.0150.01017.97
8.1.90.0120.01217.97
8.1.80.0190.00817.97
8.1.70.0190.00417.97
8.1.60.0190.00317.97
8.1.50.0210.00817.97
8.1.40.0230.01017.97
8.1.30.0400.00017.97
8.1.20.0420.00317.97
8.1.10.0470.00617.97
8.1.00.0290.00417.97

preferences:
78.24 ms | 403 KiB | 5 Q