3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'C7130A-B', 'RB2-8120', 'RM1-1082-000B', '0950-4768B', 'C7130B', ]; var_export( preg_replace('/-?B$/', '', $array) );

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.0130.00416.95
8.5.00.0060.01520.33
8.4.160.0150.00623.73
8.4.150.0020.00014.05
8.4.140.0150.00717.65
8.4.130.0120.00817.96
8.4.120.0130.00717.53
8.4.110.0140.00618.75
8.4.100.0110.01017.98
8.4.90.0090.01120.51
8.4.80.0070.00518.86
8.4.70.0090.00618.97
8.4.60.0130.00818.95
8.4.50.0060.01319.04
8.4.40.0130.00717.91
8.4.30.0160.00320.31
8.4.20.0130.00618.09
8.4.10.0120.00319.59
8.3.280.0100.01018.28
8.3.270.0080.01216.62
8.3.260.0120.00716.61
8.3.250.0110.00816.61
8.3.240.0060.00418.60
8.3.230.0130.00716.82
8.3.220.0130.00618.71
8.3.210.0070.00816.61
8.3.200.0060.00316.54
8.3.190.0120.00917.28
8.3.180.0110.00819.04
8.3.170.0090.00919.15
8.3.160.0100.00718.88
8.3.150.0160.00317.24
8.3.140.0070.01118.90
8.3.130.0040.00418.24
8.3.120.0030.00620.50
8.3.110.0090.00020.94
8.3.100.0030.00816.65
8.3.90.0070.00026.77
8.3.80.0030.00618.30
8.3.70.0180.00016.25
8.3.60.0130.01318.58
8.3.50.0120.00618.48
8.3.40.0130.00021.89
8.3.30.0000.01521.83
8.3.20.0190.00325.66
8.3.10.0170.00325.66
8.3.00.0070.01425.66
8.2.290.0090.00816.89
8.2.280.0080.01118.33
8.2.270.0060.01316.67
8.2.260.0110.00716.88
8.2.250.0040.00416.55
8.2.240.0070.00716.93
8.2.230.0060.00322.58
8.2.220.0040.00424.06
8.2.210.0000.00826.77
8.2.200.0070.00318.54
8.2.190.0070.01416.63
8.2.180.0070.01116.75
8.2.170.0000.01518.82
8.2.160.0120.00422.96
8.2.150.0150.00625.66
8.2.140.0200.00025.66
8.2.130.0160.00325.66
8.2.120.0110.00725.66
8.2.110.0150.00325.66
8.2.100.0070.01025.66
8.2.90.0140.00425.66
8.2.80.0110.00625.66
8.2.70.0150.00725.66
8.2.60.0170.00325.66
8.2.50.0150.00625.66
8.2.40.0140.00725.66
8.2.30.0140.00425.66
8.2.20.0130.00625.66
8.2.10.0180.00425.66
8.2.00.0140.00725.66
8.1.330.0160.00316.13
8.1.320.0060.00416.17
8.1.310.0040.00418.33
8.1.300.0050.00518.02
8.1.290.0060.00330.84
8.1.280.0100.00725.92
8.1.270.0110.00725.66
8.1.260.0120.00625.66
8.1.250.0100.00725.66
8.1.240.0040.01425.66
8.1.230.0040.01425.66
8.1.220.0070.00725.66
8.1.210.0090.00925.66
8.1.200.0000.01425.66
8.1.190.0040.01125.66
8.1.180.0070.01025.66
8.1.170.0180.00025.66
8.1.160.0090.00925.66
8.1.150.0140.00325.66
8.1.140.0160.00625.66
8.1.130.0140.00325.66
8.1.120.0070.01425.66
8.1.110.0120.00625.66
8.1.100.0110.00725.66
8.1.90.0130.00625.66
8.1.80.0130.00725.66
8.1.70.0130.00725.66
8.1.60.0120.00625.66
8.1.50.0130.00625.66
8.1.40.0150.00425.66
8.1.30.0070.01025.66
8.1.20.0100.00625.66
8.1.10.0110.00425.66
8.1.00.0070.00725.66

preferences:
40.1 ms | 403 KiB | 5 Q