3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = null; $returnValue = preg_match('/^(?:%[[:xdigit:]]{2}|[A-Za-z0-9-_.!~*\'()\\[\\];\\/?:@&=+$,])*$/', 'filter=%5B%7B%22property%22%3A%22lockedBy%22%2C%22value%22%3A%2242%22%7D%2C%7B%22property%22%3A%22id%22%2C%22value%22%3A%5B112524%2C113989%2C114595%2C114625%2C114639%2C114640%2C114643%2C114646%2C114647%2C114681%2C114683%2C114684%2C114685%2C114686%2C114687%2C114688%2C114689%2C114690%2C114691%2C114692%2C114693%2C114694%2C114695%2C114696%2C114697%2C114704%2C114705%2C114706%2C114707%2C114708%2C114709%2C114710%2C114711%2C114712%2C114713%2C114714%2C114715%2C114716%2C114717%2C114718%2C114719%2C114720%2C114721%2C114722%2C114723%2C114724%2C114725%2C114726%2C114727%2C114728%2C114731%2C114733%2C114734%2C114735%2C114736%2C114737%2C114738%2C114739%2C114740%2C114741%2C114742%2C114743%2C114744%2C114745%2C114746%2C114747%2C114748%2C114749%2C114750%2C114751%2C114752%2C114753%2C114754%2C114755%2C114756%2C114757%2C114758%2C114759%2C114760%2C114761%2C114762%2C114763%2C114764%2C114765%2C114766%2C114767%2C114768%2C114769%2C114770%2C114771%2C114772%2C114773%2C114774%2C114775%2C114776%2C114777%2C114778%2C114779%2C114780%2C114781%2C114782%2C114783%2C114784%2C114785%2C114786%2C114787%2C114788%2C114789%2C114790%2C114791%2C114792%2C114793%2C114794%2C114795%2C114796%2C114797%2C114798%2C114799%2C114800%2C114801%2C114802%2C114803%2C114804%2C114805%2C114806%2C114807%2C114808%2C114809%2C114810%2C114811%2C114812%2C114813%2C114814%2C114815%2C114816%2C114817%2C114818%2C114819%2C114820%2C114821%2C114822%2C114823%2C114824%2C114825%2C114826%2C114827%2C114828%2C114829%2C114830%2C114831%2C114832%2C114833%2C114834%2C114835%2C114836%2C114837%2C114838%2C114843%2C114844%2C114845%2C114846%2C114847%2C114848%2C114849%2C114850%2C114851%2C114852%2C114853%2C114854%2C114855%2C114856%2C114857%2C114858%2C114859%2C114860%2C114861%2C114862%2C114863%2C114864%2C114865%2C114866%2C114867%2C114868%2C114869%2C114870%2C114871%2C114872%2C114873%2C114874%2C114875%2C114876%2C114877%2C114878%2C114879%2C114880%2C114881%2C114882%2C114883%2C114884%2C114885%2C114886%2C114887%2C114888%2C114889%2C114890%2C114891%2C114892%2C114893%2C114894%2C114895%2C114896%2C114897%2C114898%2C114899%2C114900%2C114901%2C114902%2C114903%2C114904%2C114905%2C114906%2C114907%2C114908%2C114909%2C114910%2C114911%2C114912%2C114913%2C114914%2C114915%2C114916%2C114917%2C114918%2C114919%2C114920%2C114921%2C114922%2C114923%2C114924%2C114925%2C114926%2C114927%2C114928%2C114929%2C114930%2C114931%2C114932%2C114933%2C114934%2C114935%2C114936%2C114937%2C114940%2C114941%2C114942%2C114943%2C114944%2C114945%2C114946%2C114947%2C114948%2C114949%2C114950%2C114951%2C114952%2C114953%2C114954%2C114955%2C114956%2C114957%2C114958%2C114959%2C114960%2C114961%2C114962%2C114963%2C114964%2C114965%2C114966%2C114969%2C114970%2C114971%2C114972%2C114973%2C114974%2C114975%2C114976%2C114977%2C114978%2C114979%2C114980%2C114981%2C114982%2C114983%2C114984%2C114985%2C114986%2C114987%2C114988%2C114989%2C115359%2C115360%2C115361%2C115362%2C115363%5D%2C%22comparison%22%3A%22ne%22%7D%5D', $matches); var_dump($matches);

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.3.60.0110.00716.63
8.3.50.0120.00916.54
8.3.40.0150.00019.03
8.3.30.0070.00718.67
8.3.20.0040.00420.16
8.3.10.0030.00523.60
8.3.00.0000.00823.48
8.2.180.0080.01518.41
8.2.170.0090.00619.21
8.2.160.0140.00022.96
8.2.150.0030.00624.18
8.2.140.0080.00024.66
8.2.130.0030.00621.06
8.2.120.0000.00826.35
8.2.110.0000.00919.46
8.2.100.0030.00517.97
8.2.90.0000.00819.35
8.2.80.0000.00817.97
8.2.70.0040.01117.88
8.2.60.0080.00017.93
8.2.50.0040.00418.07
8.2.40.0000.00922.28
8.2.30.0000.00720.66
8.2.20.0060.00317.88
8.2.10.0050.00218.13
8.2.00.0030.00718.13
8.1.280.0070.00725.92
8.1.270.0150.00320.36
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0060.00321.37
8.1.230.0090.00317.70
8.1.220.0070.00317.79
8.1.210.0060.00618.77
8.1.200.0000.00917.48
8.1.190.0030.00517.48
8.1.180.0030.00618.10
8.1.170.0000.00818.82
8.1.160.0040.00420.78
8.1.150.0090.00018.81
8.1.140.0000.00819.47
8.1.130.0060.00317.63
8.1.120.0050.00217.47
8.1.110.0000.00817.48
8.1.100.0000.00817.59
8.1.90.0050.00317.57
8.1.80.0000.01117.59
8.1.70.0030.00317.62
8.1.60.0040.00417.75
8.1.50.0030.00517.71
8.1.40.0000.00817.55
8.1.30.0040.00417.76
8.1.20.0000.00717.79
8.1.10.0080.00017.75
8.1.00.0090.00017.65
8.0.300.0070.00018.77
8.0.290.0040.00416.88
8.0.280.0030.00518.34
8.0.270.0030.00317.27
8.0.260.0030.00317.19
8.0.250.0000.00717.15
8.0.240.0000.01017.14
8.0.230.0040.00416.96
8.0.220.0060.00316.91
8.0.210.0000.00817.05
8.0.200.0000.00717.02
8.0.190.0050.00317.08
8.0.180.0080.00016.97
8.0.170.0080.00016.96
8.0.160.0050.00317.05
8.0.150.0040.00417.00
8.0.140.0030.00916.88
8.0.130.0000.00613.42
8.0.120.0000.00817.03
8.0.110.0040.00417.02
8.0.100.0050.00217.02
8.0.90.0040.00417.07
8.0.80.0090.00916.94
8.0.70.0000.00917.10
8.0.60.0040.00417.02
8.0.50.0080.00017.07
8.0.30.0080.00817.20
8.0.20.0120.01117.45
8.0.10.0000.00716.99
8.0.00.0080.01117.04
7.4.330.0050.00016.82
7.4.320.0000.00616.81
7.4.300.0030.00316.79
7.4.290.0000.00716.78
7.4.280.0030.00616.62
7.4.270.0030.00316.64
7.4.260.0030.00316.79
7.4.250.0040.00416.76
7.4.240.0000.00716.80
7.4.230.0070.00016.88
7.4.220.0180.00316.66
7.4.210.0040.01116.92
7.4.200.0000.00716.91
7.4.160.0120.00416.88
7.4.150.0190.00617.40
7.4.140.0160.00717.86
7.4.130.0090.00916.61
7.4.120.0100.00716.63
7.4.110.0140.00316.48
7.4.100.0060.01316.50
7.4.90.0050.01416.60
7.4.80.0110.00719.39
7.4.70.0170.00316.70
7.4.60.0060.01016.55
7.4.50.0030.00916.72
7.4.40.0140.01116.75
7.4.30.0100.00616.59
7.4.00.0100.00714.85
7.3.330.0050.00013.10
7.3.320.0050.00013.17
7.3.310.0030.00316.49
7.3.300.0030.00316.36
7.3.290.0080.00716.32
7.3.280.0140.00316.33
7.3.270.0150.00317.40
7.3.260.0090.00916.63
7.3.250.0090.01016.33
7.3.240.0140.00416.67
7.3.230.0160.00616.39
7.3.210.0030.01416.51
7.3.200.0140.00416.62
7.3.190.0130.00316.34
7.3.180.0120.00316.76
7.3.170.0040.01316.57
7.3.160.0080.00816.37
7.2.330.0170.00016.64
7.2.320.0070.01116.87
7.2.310.0090.00916.95
7.2.300.0120.00416.67
7.2.290.0090.00616.82
7.2.80.0070.00316.73
7.2.60.0040.00416.95
7.2.00.0050.00519.68
7.1.200.0000.00715.94
7.1.100.0040.00717.90
7.1.70.0070.01017.15
7.1.60.0110.01519.52
7.1.50.0040.00716.91
7.1.00.0070.07322.35
7.0.200.0030.00616.88
7.0.60.0100.06719.96
7.0.50.0100.08017.71
7.0.40.0130.07320.10
7.0.30.0230.04320.15
7.0.20.0370.08020.15
7.0.10.0070.04720.21
7.0.00.0100.07020.36
5.6.280.0170.02022.32
5.6.210.0030.07321.84
5.6.200.0030.08319.46
5.6.190.0170.09321.57
5.6.180.0170.04321.80
5.6.170.0230.07721.71
5.6.160.0100.04321.66
5.6.150.0070.07719.40
5.6.140.0200.05719.46
5.6.130.0100.03319.40
5.6.120.0070.09022.25
5.6.110.0170.07722.11
5.6.100.0170.07722.26
5.6.90.0130.07322.12
5.6.80.0070.07721.59
5.5.350.0200.04321.62
5.5.340.0130.07319.21
5.5.330.0000.06721.31
5.5.320.0430.05021.53
5.5.310.0270.06321.53
5.5.300.0130.08019.20
5.5.290.0000.06719.15
5.5.280.0130.07322.01
5.5.270.0030.04321.95
5.5.260.0030.04321.98
5.5.250.0070.05721.89
5.5.240.0370.06321.37

preferences:
63.78 ms | 401 KiB | 5 Q